Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment Class: BeforOpenTables fire after OpenTable
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Data Environment Class: BeforOpenTables fire after OpenTable
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993790
Message ID:
00993790
Views:
67
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

Next
Reply
Map
View

Click here to load this message in the networking platform