Thanks Terry,
I like [] better than "" - just a matter of preferrence :>)
>Hi Jeff,
>
>Thanks again for your input on the Session/DE/Cursor.
>
>I was curious about why you use [] around parameters instead of "".
>TIA
>
>>Yes.
>>
>>You have to use the CloseTables method before you add any new cursors or relations:
>>
>>WITH oForm.DataEnvironment
>>
>>.CloseTables()
>>.AddObject([Cursorx],[Cursor])
>>
>>*!* set properties for Cursorx
>>
>>.OpenTables()
>>
>>ENDWITH
>>
>>
>>>Is it possible to add and remove tables to dataenvironment programaticaly.
>>>
>>>I need to change some tables from a database to another, and they are too much forms.
>>>
>>>Or maybe how to know the tables in a form.
>>>
>>>Any idea.
- Jeff