Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database Glitch in Method: BeforeOpenTables()
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01343156
Message ID:
01343221
Views:
16
Can you open any of those tables from the command window? What DBC do they belong to?


>I don't know why but I keep getting error messages as I execute my form that says that the 4 tables are not in the DBC file on drive E:\ProdData.
>
>In fact, the error states, "ERROR INSTANTIATING CURSOR OBJECT. Cannot find Carbon.dbf in E:\ProdData\Prodschd.dbc"
>
>I literally have to click on each of the tables which are dependent on the DBC file to select them from an open dialog box. This should be smooth sailing, yet it is not; did I miss a line of code somewhere?
>
>Estoy yendo loco amigos.
>
>
>* Each of the below tables is referenced in the Data Environment as being in the C:\Proddata folder, which is
>* the reason for which I re-referenced them here in BeforeOpenTables to the folder: E:\ProdData (on drive E:\).
>SET PATH TO e:\proddata\
>OPEN DATABASE e:\proddata\prodschd.dbc
>SET DATABASE TO e:\proddata\PRODSCHD
>
>This.Cursor2.Database="e:\proddata\prodschd.dbc"
>This.Cursor3.Database="e:\proddata\prodschd.dbc"
>This.Cursor4.Database="e:\proddata\prodschd.dbc"
>This.Cursor5.Database="e:\proddata\prodschd.dbc"
>
>This.Cursor1.CursorSource="E:\ProdData\Desc.dbf"
>This.Cursor2.CursorSource="E:\ProdData\Carbon.dbf"
>This.Cursor3.CursorSource="E:\ProdData\D3dept.dbf"
>This.Cursor4.CursorSource="E:\ProdData\Deltodpt.dbf"
>This.Cursor5.CursorSource="E:\ProdData\Inst1.dbf"
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform