Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor requery
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00340457
Message ID:
00340779
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform