Focal Point
[SOLVED] How can I align Prompt values in Descending order

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

November 18, 2013, 12:30 AM
Praveen Kumar
[SOLVED] How can I align Prompt values in Descending order
Hi All,

I need to align the Prompt values in Descending order. How can I achieve it.
The prompt is Year which values from 2009 to 2014 and it is a dynamic value fetching from the table.

I need the current year to be selected always.

Your inputs are highly appreciated.

Thanks is advance.

WebFocus 8.0.0.3

This message has been edited. Last edited by: <Kathryn Henning>,
November 18, 2013, 08:37 AM
Rifaz
 TABLE FILE EMPDATA
SUM HIREDATE
BY HIGHEST HIREDATE
ON TABLE PCHOLD FORMAT XML
END
 



-Rifaz

WebFOCUS 7.7.x and 8.x
November 18, 2013, 10:34 AM
WF_IL
Hi

If you are looking for a solution for the AutoPrompt facility you can use the example Rifaz gave save it in a fex and then use it within the master file as source for dynamic list of values, for example:

FIELDNAME=HIREDATE, ALIAS=HDAT, USAGE=YMD,
ACCEPT=FOCEXEC (HIREDATE AS HIREDATE IN ibisamp/empdata_dates), $

This works with 8005 but I think its supported since 8002M


Yours,
Eran
SRL Products

http://www.srl.co.il

November 22, 2013, 02:39 AM
Praveen Kumar
Thank you all.

It was helpful and I appreciate your inputs.


7.7.02, Windows Server 2008, All Formats