Microsoft_MVP_banner

The data source is not embedded within a (parent) data source.

This error comes when you try to add new datasource to the top of the query.

QueryBuildDataSource qbds;
qbds = query.addDataSource(tableNum(newTable)); // This is wrong

You should add new table to the Main datasource instead.

query.dataSourceTable(tableNum(newTable)).addDataSource(..) // This is correct

Share:

Send Us A Message

Leave a Reply

Your email address will not be published. Required fields are marked *

FaisalFareed@2025. All rights reserved

Design by T3chDesigns