As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
I think you are referring to using App Studio to create an HTML composer page where you can specify a display value and a value from value. You can still do that and put that html form into a designer page. There is currently no way to modify the filter within designer to specify two fields to use in the filter.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005
You can code the variable to accomplish this. For example, &PCD.(FIND PCD,PRODUCT IN ggsales). The following fex when dropped into the Designer page will create a dropdown that displays the PRODUCT field, but will pass the PCD field to the fex for the user's selection:
-DEFAULT &PCD = '_FOC_NULL';
-SET &ALLPCD = IF &PCD EQ '_FOC_NULL' THEN 1 ELSE 0;
TABLE FILE ggsales
COMPUTE PCD_DISPLAY/A20 = IF &ALLPCD THEN 'All Products' ELSE PRODUCT; NOPRINT
WHERE PCD EQ '&PCD.(FIND PCD,PRODUCT IN ggsales).'
"Sales for <PCD_DISPLAY (&PCD)"
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010