Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbc_OpenData Event Problem
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01294264
Message ID:
01294279
Views:
13
DBC may not be set yet. Try
sDBCPath = JUSTPATH(LOWER(DBC(cDatabaseName)))
* or
sDBCPath = JUSTPATH(LOWER(cDatabaseName))
>The auto-generated comment in the dbc_OpenData event says "Immediately after DBC is opened."
>
>I have this code in the event:
>
>
>sDBCPath = JUSTPATH(LOWER(DBC()))
>CD (sDBCPath)
>CD..
>sFileName = ADDBS(sDBCPath) + "vtc.ini"
>
>
>When I step it through, DBC() returns an empty string.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform