Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory Objects - practical application
Message
From
16/12/2006 20:40:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01177742
Message ID:
01178330
Views:
22
>Hi Mike,
>
>>VFP has datasessions, so IMO that means we deviate from the standard approach enough to deal with that idiosyncracy, not re-engineer the pattern.
>
>You must be carefull using the SET DATASESSION command, remember what the helps says
>
>"SET DATASESSION typically is used to debug forms. Care should be taken when issuing this command when a form is active, because tables in non-current datasessions are not accessible."
>
>I remember when long time ago I tried to use this command, and my grids and other controls (was it the combobox?) went blank upon calling it, I do not know if that still happens (from the help it seems to still be true) for I abandoned the use of this command

If your grid happens to try to refresh while your code is running in another DS, that may happen - it wouldn't be able to find its recordsource. But then you can always bracket the code with lockscreen, and avoid refreshing meanwhile.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform