Hello Everyone,
I create a lookup control. i displayed 2 fields (Id and Name) like the that :
Query query;
QueryBuildDataSource qbds1;
FormStringControl callerControl;
;
qbds1 = query.addDataSource(tablenum(UserInfo));
sysTableLookup.addLookupField(fieldNum(UserInfo, Name),true);
sysTableLookup.performFormLookup();
How can i get the Id value when i select one row from the lookup?
Remark : I can have many rows in the lookup with the same Name
exp : Id | Name
123 | "Text1"
144 | abc
985 | "Text1"
Thanks a lot :)
*This post is locked for comments