Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Table Structure - Field Comments
Message
From
28/12/2000 15:10:30
 
 
To
28/12/2000 14:18:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00457435
Message ID:
00457551
Views:
33
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform