Hi,
I have a form which uses a view as a datasource and I have to add tables to it at runtime. I am trying the following code which is failing could you please suggest what is going wrong?
//qbds.addDataSource(tableNum(InventTable)).addDynalink(fieldNum(ETExtractionView_SAM,ItemId),fieldNum(InventTable,itemid)); qbds.addDataSource(tableNum(InventTable)); qbds.addDynalink(fieldNum(ETExtractionView_SAM,ItemId), InventTable, fieldNum(InventTable, itemid)); qbdsbrand = qbds.addDataSource(tableNum(BrandTable_SAM)); qbdsbrand.relations(true); qbdsbrand.addRange(fieldNum(InventTable,Brand_SAM)).value(brand);
*This post is locked for comments