Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What comes before BeforeOpenTables?
Message
From
24/05/1999 19:35:57
Jorge Haro
Independent Consultant
Juarez, Mexico
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
What comes before BeforeOpenTables?
Miscellaneous
Thread ID:
00222271
Message ID:
00222271
Views:
47
Hi all, I'm trying to give my application the ability to hanldle multiple data sets, someone suggested using SETALL(), in the BeforeOpenTables method, or is it an event?...anyway, to set the forms DE to the right database. This works just fine, I was only hoping that there was a way to implement this into my form base class, but there is no DE for a form class, only for an instance of it, so I can't. So I just figured I'd have to put the code in an event that occurs before the BeforeOpenTables, and that I can access from the class designer, Is there a such a method?, I tried with Load and Init, with Load I got a mesage telling me that changes would take effect when the DE is reloades :(, with Init I couldn't even get it to run since, AFIK, form's objects are initiated first, and they need the tables to be loaded, so I got error messages...probably I'll just code it into every form, just wish there was a better way, TIA
Next
Reply
Map
View

Click here to load this message in the networking platform