Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table.field question
Message
De
17/07/2001 21:28:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00531816
Message ID:
00531822
Vues:
10
Sergey:

I was trying to do this becuase;

After I did REPLACE Test.SomeField1 WITH .F.
? OLDVAL("Test.Field1")
.... it displayed .F. ... instead of the old value .T.

Does OLDVAL() not work in the Command windows?

Mal

>< SNIP >
>>Test.SomeField1 = .T.
>>
>>I get an error "Object TEST is not found".
>>
>>Why is that?
>>
>>TIA
>>
>>Mal
>
>You cannot assign value to the table field like that. You have to use REPLACE or UPDATE - SQL to modify the table field. Therefore expression
Test.SomeField1 = .T.
is interpreted as assigment of .T. value to the property SomeField1 of the Test object wich doesn't exist.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform