Pop.up Question (AREV Specific)
At 26 JUN 2003 01:57:32PM Mark Ford wrote:
I have defined a popup with the following format statement
format=0:5:L::Code\4:20:L::Description" The popup displayed correctly. I wish to programmatically change the data displayed in the second column.
I defined a window for the client to select the dictionary name to be displayed. The dictionary name is then stored in a variable xx. The dictionary name for example could be LASTNAME. LASTNAME is the 4 entry in the dictionary.
I tried "0:5:L::Code\xx:20:L::Description" This did not work.
I tried "0:5:L::Code\LASTNAME:20:L::Description" This worked.
I tried "0:5:L::Code\4:20:L::Description" This worked.
I then tried various ways of passing variable containing either the dictionary name or the dictionary number in the format statement but with no luck.
Can a variable containing a dictionary name or dictionary number be passed in the format statement? If so what is the correct syntax?
Thanks
At 26 JUN 2003 03:55PM Bill Titus wrote:
Using POP.UP, a literal field name or number is expected, not a variable name. Instead, concatenate the variable into the formatting string.
FIELDVAR1_DATA=ARTIST"
FIELDVAR1_HEADING=ARTIST"
FORMAT=0:14:L::ACC#\":FIELDVAR1_DATA:":50:L::":FIELDVAR1_HEADING
(Hope the boldface shows up properly.)
Bill
At 27 JUN 2003 01:42PM Mark Ford wrote:
Thanks Bill - it works great.