When I used to program in RevG (yes I'm old), I would add keys to saved select lists on the fly by opening the Lists file to a filvar just like any other file and reading a record,listname and concatenating a key to the end of the list with a @vm. This worked beautiful and in the days of an 8 megahertz server it avoided alot of search and select time.
I would still like to use this technique in Open Insight but the SysLists file does not seem to be available to normal file I/O in RBasic code. Please understand I know how to pull up the list and type a value at the end what I want to do is something like I used to do above.
Thanks, Steve
Steve,
We have no problems working with the SYSLISTS table that way. By the way, did you mean @FM instead of @VM when describing your process?
Steve,
It seems to work here .. in fact just tried it with 3.6.1 and all is find (whew ..)
dsig
David Tod Sigafoos ~ SigSOlutions
[email protected] cis:70302,77 voice:503-639-8080
In the following code, the first open works fine, the second fails. Check the upper/lower case of the filenames.
Subroutine TestOpen(void)
Declare Subroutine Msg
Open 'SYSLISTS' to test1 else
Msg(@window,'Could not open SYSLISTS')end
Open 'SysLists' to test2 else
Msg(@window,'Could not open SysLists')end
Return
Glad to know this works in OI. I will keep working at it.