Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment problem
Message
From
24/05/2002 01:38:33
 
 
To
23/05/2002 18:53:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00660672
Message ID:
00660885
Views:
12
Yes, that works very well, and therefore I'm almost back where I started, when I manually set the database for each cursor like this:

With ThisForm.DataEnvironment

.Cursor1.Database = oApp.cDataPath + oApp.cDatabase
.Cursor2.Database = oApp.cDataPath + oApp.cDatabase

EndWith

However, I set this once and I don't have to go into it everytime the dataenvironment changes.

There doesn't seem to be any difference between setting the AutoOpenTables to False, or executing the method in the BeforeOpenTables.

Thanks for your help!

Johan
Previous
Reply
Map
View

Click here to load this message in the networking platform