Display two columns in a dialog list field.

Experts,
      I have this code in a dialog list, now can you please tell me how can I display two columns:

temp := @DbColumn( "":"NOCache"; @DbName; "prodLookUpView"; 1);
@If(@IsError(temp); "No Products available"; @Unique(temp))

    Format:                                  Product code                   Product Description

right now I only have the product code in the dialog list.

Thank you.

cyleAsked:
Who is Participating?
 
HemanthaKumarConnect With a Mentor Commented:
Best method is to use @PickList...

DBCol/DBLookup is discouraged for the limitation they have.. Secondly to show multiple cols picklist is preferred.

~Hemanth
0
All Courses

From novice to tech pro — start learning today.