Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with two databases
Message
From
13/12/2001 20:56:42
 
 
To
13/12/2001 19:33:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00594181
Message ID:
00594198
Views:
22
Hi Steven,
Why not use 2 seperate but identical forms with different DE on each?

>This is a more detailed description of my other thread.
>I have a form which displays data from a table in a local app. I then had to extend my app to another facility. The most efficent way I came up with to do this was put a table of the same structure on their server. I do all data transactions via sql passthrough. But now suppose I am looking at my local data and then I desire to use the same form to look at the remote data(the remote table has the same name). I use sql to retreive the data into a cursor with the same name so all of my controls will be populated in my form. This goes pretty good until I try and go back to my local data. It seems that de.closetables and de.opentables will not release the cursor so select local table will pull from correct source. If I place close all tables before the de statements then it seems to release but then I get a message that porperty change will not take affect until de is reloaded.
Tony
Skill comes from Diligence
Previous
Reply
Map
View

Click here to load this message in the networking platform