Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a table from a DBC with different pathing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Opening a table from a DBC with different pathing
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01259546
Message ID:
01259546
Vues:
57
I have a situation where the pathing of the production copy of some data is different than it is on my local machine. I normally don't have to deal with this since my apps run from any folder a user wants to place it, but the DATA folder is usually a subfolder and all the tables and the DBC reside there (they can change this, but no one ever does). In this situation, the tables are on one drive and the DBC is on another (they are on the same physical server, perhaps even the same physical drive, but the data is on mapped drive J: and the DBC is on mapped drive W:). So when I copy this DBC and the tables over to my computer and try to open a table, it tells me it can't find the database and shows the path as J:yada,yada,yada (you never knew Jerry Seinfeld was one of the VFP developers, did you?).

How do I get this table open? I'm probably forgetting something obvious - it's been that kind of day - but I was thinking it wouldn't look for the exact path if the DBC was open and your referenced it, as in DBCName!TableName. No dice. Or if the DBC was set as the current DBC. No dice there, either. What gives?

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform