Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
False positives from GetFldState
Message
 
 
To
23/12/2010 17:37:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01493746
Message ID:
01493753
Views:
62
>Assuming the field state is being set by how you are setting the field to updatable, can you do the following after fetching the data:
>
>CURSORSETPROP("SendUpdates",.F.)
>TABLEUPDATE(2,.T.)
>CURSORSETPROP("SendUpdates",.T.)
>
>
>That should reset the field state on your cursor without actually saving anything back to the server.

Hi Rob,

Happy Holidays to you and Dave!

I've tried this, but unfortunately it didn't help. The UPDATE still fired. Something else is changing the field, may be it's the EditBox class itself?

Have you ever seen problem like that?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform