Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbc_OpenData Event Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01294264
Message ID:
01294280
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform