Hi all,
I have a form with a private data session. A button has to perform an action that requires a number of tables to be opened then closed. I don't want these tables to interfere with the existing datasession so I thought I could use the session object to keep the tables separate.
This works fine except that the form appear to change datasession causing a couple of grids to become unbound.
Could someone point out were I am going wrong.
lnSessionID = ThisForm.DataSessionId
loSession = CreateObject("Session")
Set Datasession To loSession.DataSessionId
DO PrepairToOpenExhibition with lcDBF, lcTitle
Close Tables all
Set Datasession To lnSessionID
loSession = .NULL.
Many thanks
Caroline
Caroline