Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace command in a form
Message
From
20/02/2000 15:00:14
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00334630
Message ID:
00334632
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform