Focal Point
[SOLVED] Combine 2 columns in dropdown list

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3367059986

April 16, 2018, 03:51 PM
ratios
[SOLVED] Combine 2 columns in dropdown list
Hi Fellow Focus Users!

In the Apps Studio html page, I have no problems adding a dropdown and showing 2 columns... for example, account numbers and their descriptions. See first image.


But how can I do the same in the new 8202 New Page option? I use
WHERE PAYROLL_VIEW.COSTCENTRE_DIMENSION.COSTCENTRE EQ &OVCC.(OR(FIND COSTCENTRE IN PAYROLL_VIEW.COSTCENTRE_DIMENSION.COSTCENTRE)).COSTCENTRE.;
to show the dropdown and that works but how can I add the Description for each of those accounts, just like in the html version? Note: The description is in the same table. See second image


Any help appreciated! Thanks

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS App Studio 8202M
Windows, All Outputs
April 16, 2018, 06:09 PM
Chaudhary
create a define field in master file doe id+ desc,
then when you will create Where clause using GUI it prompts 2 options in last to pic the display field and value field in display choose define filed and in value pass the ID field.


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
April 17, 2018, 10:18 AM
ratios
Thanks Chaudhary, I was able to get what I wanted.


WebFOCUS App Studio 8202M
Windows, All Outputs