Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 10657

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

$
0
0
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


Viewing all articles
Browse latest Browse all 10657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>