Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting List Variable with contents from a Field member

Status
Not open for further replies.

Crspy63

MIS
Apr 20, 2000
33
US
I have retrieved data from an external text file using FILEIO extra and placed it in a cast member of field type.
This part works fine. I now need to put the data from the field into a global variable of list type so that I can call items from the list in different scripts.
The scripts are simple "goto" scripts and the list items are strings that are used as markers (I have tested this portion using hand written list variable and it works fine also).
I just need to get the field data into a list variable. I have tried a ton of different conventions and read every book I own, to no avail....Any help would be much appreciated.
 
super easy to do

x = value(member(x).text), or something like that, the value command is the important one.

 
Was beatin' all around that but missed the "value" part...works great now, thanks!

Crispy
 
Depends how your storing the data in the text file.
Are you writing a list to a text file, or something else.

Mayuresh
 
The data in the text file was coming from a frontend vb program so it could be any form I wanted. It is provided in the form of a Director list.
 
HOrrid is right on the mark.
Value is how u gonna have to do it.

Mayuresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top