To Ronald de Jesus
Thnx! As you had suggested FOUND() does returns False. More over the data does not get saved properly. i.e, only the vendor code of the first record gets deleted every time i try to edit some other record. Can you plz tell - What can be the problem & How to solve it?
Regards
Vijyendran
> 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
Vijayendran S