Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Space in dbc name
Message
 
 
À
11/07/2006 17:39:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01135534
Message ID:
01135634
Vues:
12
>I found this accidentally... testing a converter of mine, which was supposed to convert old dos free tables into new tables with a dbc. It was using a directory name as the dbc name, and I forgot that and had a space in the name of the directory. And it still works!
>
>Dbc() returns "M:\RAD\APVFP\OS DZ\DATA\OS DZ.DBC", and when I try to open a table, intellisense kicks in and gives me the proper syntax:
>
>USE "os dz!kupci"
>
>This saves me a bunch of time - just when I thought I'll have to rework the automatic naming :).

From USE command help: "On Microsoft Windows 98 and later, spaces are significant in file names; therefore, avoid using extraneous spaces in TableName and DatabaseName. If a table or database name contains spaces, enclose the name in quotation marks."
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform