Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBCs drive me nuts!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
DBCs drive me nuts!
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01496239
Message ID:
01496239
Vues:
148
I am going in circles with my DBC. In Design Mode, I am going round and round. It also is affecting the Production mode. This is why I've never liked FoxPro's DBCs.

I wrote in the following in the Form's LOAD method:
OPEN DATABASE C:\Karls\Data\Karls.DBC
I initially had a DBC in a folder called Data, as follows: C:\Dev\Karls\Data, however, I got rid of it and am going directly to the folder called C:\Karls\Data where the production data will reside. This is not a big time client who would want or even know what a server is; this is data which resides on the client's own desktop.

I continually get this error when I bring up my form:
Error instantiating cursor object. Cannot find
C:\Karls\Data|Orders in C:\Karls\Data\Karls.dbc.
The data is there and all I do is hit the LOCATE button to lead the program to it. But, why won't this work automatically?
Here is what I have in the Form's DataEnvironment.BeforeOpenTables method:
This.Cursor1.Database="C:\Karls\Data\Karls.dbc"
This.cursor1.CursorSource="C:\Karls\Data\Orders"
This.Cursor2.Database="C:\Karls\Data\Karls.dbc"
This.cursor2.CursorSource="C:\Karls\Data\Customers"
This.cursor3.CursorSource="C:\Karls\Data\States"
This.cursor4.CursorSource="C:\Karls\Data\Warranty"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform