Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug? in grid control & multiple data sessions: data vani
Message
 
To
14/01/2003 01:05:40
Paul Dorrington
Dorrodata Computing Pty Ltd
Carlton, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741303
Message ID:
00741309
Views:
30
>Hello all, I have recently noticed some strange behaviour with
>the grid control on a form. It seems that the grid control loses
>its record source when code executes to temporarily change the
>datasession - to session 1 or to a newly created session object -
>the grid loses its record source and the data disappears from the
>grid. This seems to occur whether the grid is the active control
>or not. Any information (similar experiences/work arounds)would be helpful.

Yes, that would be expected behavior: if the datasession changes, then the table that the grid is bound to is no longer accessible, so it acts as if you've closed it. Check out MSKB#Q260048 for details and a possible workaround.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform