Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace command in a form
Message
De
20/02/2000 15:00:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00334630
Message ID:
00334632
Vues:
21
>However... it also blanks out the rest of the fields on my form and goes directy to the SAVE comand button... this I do NOT want ....

Thats because a REPLACE with the ALL clause moves the record pointer to EOF. Try this:
If this.value="Y"
	Select MyTable
	<b>lnRec = Recno()</b>
	Replace all complete with this.value for ;
	mytable.str_No=thisform.txtstr_no.value ;
	.AND. mytable.address=thisform.txtaddress.value 
	<b>go lnRec</b>
Endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform