>>>What is a best way to get a list of OPEN tables?
>>>
>>>I need to get a checksum of the current record in every currently "open" table.
>>>Either in an array or a table, so I can then use the SYS(2017) function to get each checksum.
>>>
>>>Then I will add them up to come up with a single Combined Checksum to make sure the data set is not being repeated.
>>>
>>>Thanks.
>>
>>AUSED() ?
>
>That's it !
>Been looking for it all day!
>THANKS.
Cyrus, AUSED will only list tables in the current datasession (if you omit the second parameter), you might need to iterate thru all datasessions to get all the tables open (if applies). To get the sessions you can use ASESSIONS(laSessions), something like:
lnSessions = Asessions(laSessions)
for lnSession = 1 to lnSessions
next lnSession
It might not be necessary in your case, but I thought it would be good to bring this up just in case
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges