I have no idea how to concatenate 2 values on the same field , I mean something like this:
lookup.addLookupfield(fieldNum(Table, ProductName)," " ,fieldNum(Table,ProductPrice));
This is my code for now:
lookup.addLookupfield(fieldNum(BBP_TableProducts, ProductName));
If you have add 2 field in lookup you have to do it in 2 separate lines .
For example:
lookup.addLookupfield(fieldNum(Table, ProductName));
lookup.addLookupfield(fieldNum(Table, ProductPrice));
This is the definition of addLookupfield
function
public void addLookupfield(FieldId _fieldId, [boolean _returnItem])
You can't concatenate values in the same addLookupfield
function.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.