>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.