Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table.field question
Message
From
17/07/2001 21:53:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00531816
Message ID:
00531832
Views:
11
Thanks Nadya ... got it :o)

>>Hi All:
>>
>>The following are via the Command window.
>>Open a database, then a table - ALIAS Test SHARED.
>>
>>? Test.SomeField1
>>.... displays .T.
>>
>>? Test.SomeField2
>>.... displays .T.
>>
>>? Test.SomeField1 = Test.SomeField2
>>.... displays .T.
>>
>>REPLACE Test.SomeField1 WITH .F.
>>? Test.SomeField1
>>.... dislays .F.
>>
>>? Test.SomeField1 = Test.SomeField2
>>.... displays .F.
>>
>>All of the above are as expected. Now, when I do;
>>
>>Test.SomeField1 = .T.
>>
>>I get an error "Object TEST is not found".
>>
>>Why is that?
>>
>>TIA
>>
>>Mal
>
>If you want to assign a value to a field, you should use replace command. You can not assign a value to a field using = operator. You can do it only for varialbes or for object properties... That's why you're having this error. VFP thinks, you have an object Test.
Previous
Reply
Map
View

Click here to load this message in the networking platform