Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ronald de Jesus
  Where is Ronald de Jesus?
 Los Baños
 Philippines
 Ronald de Jesus
 To: Vijayendran
  Where is Vijayendran?
 Chennai
 India
 Vijayendran
 Tags
Subject: RE: Can anybody help me solve the error!!!
Thread ID: 22786 Message ID: 22825 # Views: 24 # Ratings: 0
Version: Visual FoxPro 5 Category: General VFP Topics
Date: Sunday, April 27, 2003 3:53:18 AM         
   


Try this,

****
Do case
case Recstatus='A'
Append Blank
Repl vcode with mvcode
Repl input with minput, instage with minstage,output with moutput, outstage with moutstage

case Recstatus = 'E'
Sele mos_in_output
seek minput+minstage+moutput+moutstage
if found()
Repl vcode with mvcode
Repl input with minput, instage with minstage,output with moutput, outstage with moutstage
else
=messagebox("Search not found!",0,"Error!")
endif
endcase
***

check your -> seek minput+minstage+moutput+moutstage

i think this returns FOUND()=.f. thats why your replace applied to the 1st record

Ronski

COMPLETE THREAD

Can anybody help me solve the error!!! Posted by Vijayendran @ 4/25/2003 2:54:43 PM
RE: Can anybody help me solve the error!!! Posted by Pete Sass @ 4/25/2003 3:30:19 PM
RE: Can anybody help me solve the error!!! Posted by Vijayendran @ 4/26/2003 5:20:27 AM
RE: Can anybody help me solve the error!!! Posted by Ronald de Jesus @ 4/27/2003 3:53:18 AM
RE: Can anybody help me solve the error!!! Posted by Vijayendran @ 4/29/2003 5:21:50 AM
RE: Can anybody help me solve the error!!! Posted by Ronald de Jesus @ 4/29/2003 6:42:43 AM
RE: Can anybody help me solve the error!!! Posted by Ronald de Jesus @ 4/29/2003 6:52:13 AM
RE: Can anybody help me solve the error!!! Posted by Vijayendran @ 4/29/2003 2:12:05 PM