Thursday, May 14, 2015

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

No comments:

Post a Comment

I will appreciate your comments !

How to enable new Microsoft teams - Public Preview!

New Microsoft Teams is just AWESOME, quick but useful post below shows how you have this preview feature to make your life EASY!  Open Micr...