Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
False positives from GetFldState
Message
 
 
À
23/12/2010 17:37:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01493746
Message ID:
01493753
Vues:
63
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform