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:
01294280
Views:
15
The DBC() function doesn't take parameters.



>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.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform