Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not possible to scan dataenvironment objects!?
Message
De
24/06/1999 07:32:53
 
 
À
23/06/1999 19:52:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00231556
Message ID:
00233400
Vues:
40
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform