Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table.field question
Message
De
17/07/2001 21:53:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00531816
Message ID:
00531832
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform