Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blah' is not an object
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056545
Message ID:
00056579
Views:
30
>>>I get an error when I say ?DATBASE->lastname. DATBASE='8finance' and refers to 8finance.dbf. This seems quite a valid statement to me.
>>>AAUGH!
>>> "DATBASE is not an object" is the message I get.
>>
>>? &datbase..lastname
>Ed, turns out I forgot to sele another workarea b4 I opened up the current one and thus losing the reference to Datbase.
>
>does &datbase..lastname = datbase->lastname?

database->field may still work (where database is an actual table name, not a variable), but isn't recommended.
use & for macro substitution. use .. (two periods) after macro substitution to say macro is done here and second period is beginning of rest of statement.
Previous
Reply
Map
View

Click here to load this message in the networking platform