>Hi Roi,
>
>A while back, I uploaded a file here under the title "Automated Data Functions" ... a large block of the code is building arrays of the views and tables in a datasession to automate updates, reverts, and requeries. I think you'll find it of some use.
>
Hi John,
Cool. I checked it out. It works with views and tables in the forms DE, not a DataSession though, but it does give me an idea of 1 way to do what I need. I'll just wrap it up in a custom class and use AUSED().
Question. Are the tables in a DataSession objects? If so how do you get a reference to the object. AUSED() gives you the alias. My current Data stuff builds the Cursor collection using the cursor objects from the DE. I wanted to build a collection from anything in the current DataSession, but I need an object reference not an alias.
TIA
>
>>Is there a way to programttically find out what cursors are open in a data session.
>>
>>I have a form with a private DE. The form loads, I open some tables and then need to build an array of each cursor that is open.
>>
>>TIA.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!