Hello,
I want to get the value of the property value Included Column of the data field Qty of the index TransIdIdx of CustInvoiceTrans below.
I was able to get the Datafield(Qty) with DictIndex.includedColumn, but I can't find a way to get the Included Column value of the property in the DictIndex class.
If anyone knows how to get it, could you share it?
Any advice would be appreciated.
Hi Girish,
I got the Data field value by this code.
Dictionary dict; DictTable table; DictIndex idx; dict = new Dictionary(); table = new DictTable(dict.tableName2Id("CustInvoiceTrans")); idx = new DictIndex(table.id(), table.indexName2Id("TransIdIdx")); if(idx.numberOfIncludedColumns()) { for (int k=1; k <= idx.numberOfIncludedColumns(); k ) { int includedCol = idx.includedColumn(k); str includedColName = table.fieldName(idx.includedColumn(k)); Info(strFmt("IncludedColumn: %1, IncludedColumnName: %2",includedCol, includedColName)); } }
Do you know how to get the value Yes or No for the Included Column?
Why do you want to do this?
Hi Akshi,
How you got Data field value?
If you got property of the Data field value, then my assumption will be using the same you can get the included column value right?
Thanks,
Girish S.
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156