Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor requery
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00340457
Message ID:
00340779
Vues:
24
>You could also use GetFldState(-1). If there is anything other than 1s in the returned string then the view has not been requeried because a dirty view by definition has not been requeried.
>
>If the view is not a data entry view, then requerying it as many times as you want won't hurt anything (unless it takes a LONG time to requery).

Actually that's a very good thought. But I seem to recall posting a message up here about a year ago where GetFieldState(-1) didnt do me what I expected. I forget the circumstances, but I think I might of ended up avoiding using it in checking for dirty buffers because I didnt understand it's correct usage at the time... probably why my CheckBuffers() code always felt like a brute force. Hmmmmm.

Thanks Larry, this was comment very useful.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform