Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment Class: BeforOpenTables fire after OpenTable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Data Environment Class: BeforOpenTables fire after OpenTable
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00993790
Message ID:
00993790
Vues:
69
I have a Data Environment Class within which I implemented the following event and method:
1. BeforeOpenTables
In this event, I open the database if it's not opened if it is I set it as the current DB
2. OpenTables
In this method, I use the desired tables.

While tracing through code in Debuger, I observed a strange phenomenon which is that the Event called "BeforeOpenTables" actually fires AFTER the OpenTables method. What in the world is this?
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform