Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not possible to scan dataenvironment objects!?
Message
From
24/06/1999 07:32:53
 
 
To
23/06/1999 19:52:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231556
Message ID:
00233400
Views:
39
>>>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.

??!!

I have DE autoopentables=.t. and change cursors .cursorsource
properties in DE BeforeOpenTable and this works ok
/vfp 5.0 build 415/: no crashes, proper free dbf is opened!

How do you explain this? Maybe because I use only free tables,
not a tables pointed by DBC?

>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.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform