Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOUND() not working with table buffering and scatter/gat
Message
De
01/03/2002 15:07:10
 
 
À
01/03/2002 14:57:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00627159
Message ID:
00627167
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform