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:
01294279
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform