Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataEnvironment - OpenTables firing before BeforeOpenTab
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00147989
Message ID:
00148019
Views:
31
>I put in some wait window commands and found that the .OpenTables method is firing and then the .BeforeOpenTables method is firing. I don't think that this is right. Any idea what is going on here?

Just to clarify some confusing terminology, OpenTables is a method whose default behavior is (no surprise) to open tables. This also triggers the BeforeOpenTables event. So any code you put in OpenTables will execute, then the default OpenTables behavior will occur, during whiich BeforeOpenTables will fire.

The long and the short of it is that your BeforeOpenTables code will execute after your OpenTables code.
Previous
Reply
Map
View

Click here to load this message in the networking platform