Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update doesn't work without thisform
Message
De
29/09/2011 15:28:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Update doesn't work without thisform
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01525200
Message ID:
01525200
Vues:
119
I do an update with set
UPDATE MyView ;
	SET ;
		Field1 = nValue1, ;
		Field2 = .nSomeValueIHave ;
	WHERE code = nValue3

this gives an error even if there is a WITH in the beginning of that procedure


UPDATE MyView ;
	SET ;
		Field1 = nValue1, ;
		Field2 = thisform.nSomeValueIHave ;
	WHERE code = nValue3

doesn't give an error
What's wrong here?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform