I have a Dialog List field on a form. The Dialog List is based on a View - specifically the column of the view I wish to present to the operator. Is there any way to retrieve into the application both the value of the selected column and an additional column of the view?
In stead of using a dialoglist, I use a computed field, and then I have a little action button (graphic that looks like the hinky mink). I put code in there for perhaps a pick list, I then grab a column that has all the fields concatenated together. Then upon selection, I parse out my return value and place the values in the desired fields.
Here is an example:
choice:=@PickList( [Custom] : [Single] ; @DbName ; “Vendors” ; “Select a vendor” ; “Please select the Vendor” ; 10 );
FIELD vendor := @Word(choice;“¥”;1);
FIELD AcctNo := @Word(choice;“¥”;2);
FIELD vendoraddr := @Explode(@Word(choice;“¥”;3); “~”);
FIELD vndrcity := @Word(choice;“¥”;4);
FIELD vndrstate := @Word(choice;“¥”;5);
FIELD vndrzip := @Word(choice;“¥”;6);
FIELD vndrphone := @ReplaceSubstring(@Word(choice;“¥”;7);“(”:“)”;“”);
FIELD vndrfax := @ReplaceSubstring(@Word(choice;“¥”;8);“(”:“)”;“”);
FIELD vendorpoc := @Word(choice;“¥”;9);
“”
I have a view called Vendors, in column 10, i have formula adding all the fields I need separated by “¥”…