how to display multivalued field in T mode popup (AREV Specific)
At 03 FEB 2004 04:49:48PM Sadhana Shavdia wrote:
In a T mode popup only first value from a multivalue field gets displayed in the popup. The Format parameter asks for field:width:just:oconv:heading. How can I show all values from the multivalue field for all the records keys passed to popup? Can't use R mode as more than one record need to be displayed. Using AREV 2.12
Thanks,
Sadhana
At 03 FEB 2004 05:32PM Jonathan Bird wrote:
Do you need to display all the values on seperate lines of the popup? If not, then do something like:
convert @VM to '-' in MultiValueData
when constructing the DISPLAY variable.
J
At 04 FEB 2004 10:47AM Sadhana V Shavdia wrote:
No I don't need them on separate lines. However I do have a Select list before I call popup in the program and it says mode T display argument has to be Null when current select list is used. So I don't know where can I convert @VM to '-'. The Format parameter only allows valid OCONV pattern.
Thnx,
Sadhana
At 04 FEB 2004 01:47PM Jonathan Bird wrote:
In that case, create a single-valued symbolic field that does this:
STUFF=@RECORD ;* Where ?? is the filed number of the MV field
convert @VM to '-' in STUFF
@ANS=STUFF
Then use the new symbolic in the popup…
Send me the appropriate portion of your code, if you need more clarification
J
At 04 FEB 2004 03:24PM Sadhana V Shavdia wrote:
Thanks, that works.
I guess there is no way around if I don't want to create a symbolic in dictionary and convert it directly in the program.
Again thanks a lot.
Sadhana
At 04 FEB 2004 05:57PM Bob Carten wrote:
Sadhana
What happens if you have the select statement for the popup sort by the multivalued field?
Bob
At 05 FEB 2004 10:15AM Sadhana V Shavdia wrote:
Bob,
It displays a messed up popup. I am showing Employee's SSN, Last Name, First Name and dependents first names fields(multivalue field). With SELECT sorted on DEPENDENT.FIRST.NAMES, an employee with 7 dependents shows 7 lines on POPUP but only displays SSN(on 7 lines)with no other data for the rest of the fields except the value marks for the Dependent First names field.
Thnx,
Sadhana
At 06 FEB 2004 02:16PM Curt Putnam wrote:
Seems to me that the easy & quick way out is to simply write your own routine to populate the popup.
At 19 MAR 2004 12:54PM C E Snell wrote:
You could write a user-defined output conversion to do this without a symbolic, and use that in your popup definition. The Arev 3.0 R/Basic manual has user-defined conversion documentation.