Hello, friends
I need to retrieve values chosen in lookup and display them in other fields of the form. For example, based on following lookup configuration:
sysTableLookup.addselectionfield(fieldNum(SalesLine, SalesId));
sysTableLookup.addLookupfield(fieldNum(SalesLine, ItemId));
sysTableLookup.addLookupfield(fieldNum(SalesLine, Name));
sysTableLookup.addLookupMethod(tableMethodStr(SalesLine, mcrDisplayConfigId));
sysTableLookup.addLookupMethod(tableMethodStr(SalesLine, mcrDisplayInventBatchId));
sysTableLookup.addLookupfield(fieldNum(SalesLine, InventDimId));
user have chosen specific salesid with sepcific itemid and configid. Based on lookup fields .valueStr() I can only retrieve salesid.
I have heard that the solution could be usage of formlookup. It would be nice if you could provide me with an example on how to create one and how to integrate it in my main forms field.
Best regards,
Roberts