I see a couple of issues with the code you have shown here. Firstly, does the value of string change inside of the loop? From this code sample, it doesn't. Secondly, from the code shown, once you find the record, you scatter memvar blank and then gather memvar to the same record. The net effect is that the record will now be blank. Was this the desired functionality?
Is the purpose of this code to find all instances of (string) and blank out that record? Please let me know as this is an interesting problem that I would like to know more about.
Thanks
>Is there a problem with FOUND() not getting the proper response when being used in a buffered table? I have had the problem before. In this case I am doing the following:
>
>do while .t.
> seek (string)
> if .not. found()
> exit
> endif
> scatter memvar blank
> gather memvar
>enddo
>
>This wipes out the rest of the table. The seek finds the correct records initially, but found never returns .t.
>
>Is this an existing problem? I'd appreciate any help.
>
>Thanks,
>Larry Morelli
Brian McCord
President
Sagacity Systems