>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.
If it's not broken, fix it until it is.
My Blog