Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Table Structure - Field Comments
Message
De
28/12/2000 15:10:30
 
 
À
28/12/2000 14:18:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00457435
Message ID:
00457551
Vues:
36
>Hi Trey,
>
>Thanks for the response. It looks promising. Did you mean (cursorgetprop("database")) instead of (cursorget("database"))?
>Like below?
>
>USE n:\dmdbadb\lf_can.dbf SHARED
> set database to (cursorgetprop("tmain.dbc"))
>

Actually, I meant cursorget("database") - the actual word "database" - not the database name. :)
I know where you got that from, though - it can be hard to tell when somebody means the word they typed or for it to substitute for the actual entity name.

This command will return the database name - or the fullpath to "tmain.dbc". Since you already know it, you can just use set database to tmain.dbc. I work with multiple databases, so I have a habit of getting a table's database this way.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform