Focal Point
[SOLVED] Adding records in alpha file

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

January 19, 2012, 06:24 AM
ChristianP
[SOLVED] Adding records in alpha file
Hi,

i am building a non persistant alpha file to use it as a filter with the INFILE technique. Now i need a solution to add a record to this file by hand. The alpha file is a flat list with company numbers with only one column.

Regards

Christian

This message has been edited. Last edited by: ChristianP,


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
January 19, 2012, 03:48 PM
Waz
When you say by hand, do you mean supplying a value to the fex ?

if so, then filedef the alpha file in append mode, and -write the variable to the file.

e.g.
FILEDEF MYFILE DISK myfile.ftm (APPEND
-RUN
-WRITE MYFILE &suppliedvar



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 20, 2012, 04:57 AM
ChristianP
Hi Waz,

perfect!!!! Works great!!

Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT