Focal Point
How to Setup variable value to the Fex Field value

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

October 17, 2006, 06:48 PM
Viral
How to Setup variable value to the Fex Field value
Hello,

I have field name FOCLIST/I5, I want to get maximum foclist(number) from my focus file. I cann't use the &RECORDS since I also use delete from the same file. So I have use
TABLE FILE FILENAME
MAX.FOCLIST
END
Now How can I set up the dialog manger variable equals to the number or value I got from this table request command earlier.
Do I have to hold in the file and read the hold file , How it works example of code will more helpful?

In advance Thanks for your suggestions.


WF 7.6.2/ OS WIN2003.
DM 7.6.2
October 17, 2006, 11:16 PM
susannah
yes exactly
TABLE FILE FILENAME
SUM MAX.FOCLIST
ON TABLE SAVE
END
-RUN
-READ SAVE &HOWMANY.A5
-TYPE here's howmany i have &HOWMANY
Before you start, make sure the format of your foclist file is I5




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 18, 2006, 08:29 AM
Jim_at_LM
TABLE FILE FILENAME
MAX.FOCLIST
ON TABLE HOLD
END
-RUN
-READ HOLD &HOLD_FOCLIST.I5.
-* You can ref. &HOLD_LIST in Dialogue Manager or set to another Dialogue Manager variable:
-SET &MAXLIST = &HOLD_FOCLIST ;


> I hope this helps. Jim


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
October 18, 2006, 06:12 PM
Viral
Thanks,
For your suggestion, it worked for me.

Thanks once again.


WF 7.6.2/ OS WIN2003.
DM 7.6.2