The DIALOG Lookup command appears to do what I would like it to do -- but the documentation ends without any explanation of how to access the value selected in a lookup. I see no new variable, or any that appear to hold the resulting value. It appears to me that the value selected simply disappears into a black hole.
I copied the example from the manual/help screen, changed my table & column names, and it works on screen...just doesn't produce any resulting value I can find or access. As an example, I'd like the user to examine a list of customers, select one, and return the primary key value (CustID). Using a POPUP_RETURN_COLUMN CustID | POPUP_RETURN_TYPE VALUE, where is the value of CustID to be found? If I instead use POPUP_RETURN_TYPE COLUMN, what info is actually returned? And where is it to be found? DIALOG 'Enter search string to look for in database' vResponse=25 vEndKey 1 + CAPTION 'Search' ICON INFO + OPTION DIALOG_EDIT_HINT 'Double-Click for a List of Contacts' + |POPUP_ENABLED TRUE + |POPUP_DIALOG_TYPE LOOKUP + |POPUP_TITLE_FONT_NAME VERDANA + |POPUP_TITLE_FONT_SIZE 10 + |POPUP_TITLE_FONT_BOLD TRUE + |POPUP_TITLE_FONT_COLOR GREEN + |POPUP_TITLE_BACK_COLOR WHITE + |POPUP_TITLE_TEXT 'Select Contact to Edit' + |POPUP_LIST_FONT_COLOR GREEN + |POPUP_LIST_BACK_COLOR WHITE + |POPUP_CAPTION 'List of Citizens' + |POPUP_TABLE Citizens + |POPUP_SELECT Name_F,Name_L, Addr1, Addr2, Email + |POPUP_RETURN_COLUMN CitizenID + |POPUP_WHERE ORDER BY Name_L, Name_F + |POPUP_SHOW_LINES TRUE + |POPUP_RETURN_TYPE COLUMN + |POPUP_LINES 20 + |POPUP_DISTINCT TRUE (manual's example adapted to my data). Thanks for any guidance. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

