Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error while DE is reloaded by DE.Opentables()
Message
From
11/04/1999 18:44:55
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
 
 
To
08/04/1999 22:26:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00206562
Message ID:
00207328
Views:
18
>HI!
>I have three identical databases with exact same tables. Lets say first is 'A', second 'B' and third 'C'. Initially DE was populated by tables from 'B'.
When I try to switch to 'A' or 'C' or even try to start in 'A' or 'C' I get an error saying, "File l:\...\..\B doesn't exist". I checked the procedure several
times which replaces the database name with currently open database, either being 'A' or 'C', and debugged it several times. The database names and
other properties are replaced without any problem but when VFP reloads DE by DE.Opentables() it gives me the error.

>Why are you trying to switch databases while the form is already instanciated? Is there a real world application for this?


Actually we will be moving the whole application to another location and I want to make sure we are looking at the correct database. As far as database switching is concerned, we have three databases and one is used for editing a record, other one keeps all the updated data and the last is keeping a history of all the revisions on a record. I am using the same form for switching between databases as all these have same tables in them.
Previous
Reply
Map
View

Click here to load this message in the networking platform