Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not possible to scan dataenvironment objects!?
Message
From
23/06/1999 19:52:44
 
 
To
22/06/1999 17:16:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231556
Message ID:
00233273
Views:
28
>>The BeforeOpenTables Event actually fires during OpenTables() and is kinda tricky to do anything with.
>
>What does this mean!?
>I have no Opentables event, I use autoopentables=.t.
>and nodataonload=.t. for views always.
>
>Do you want to say that BeforeOpenTables executes between auto-opened
>tables !?


You need to set autoopentables=.F. if you want to do anything at all.
VFP already has the cursor objects and properties locked and set as though
the files are open by the time you get to beforeopentables(). As a result
making any attempts to change values of cursor object will produce a crash.


IF you set autoopentables to false ... this does not occur.

But, you can still for opentables() manually from the load event once you
have made changes, to allow for autoclosetables = .t. to function properly
during the form unload.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform