Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
False positives from GetFldState
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
False positives from GetFldState
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:
01493746
Vues:
119
Hi everybody,

I have a SQL Server table with a Text field (we're still supporting SQL 2000). Using SPT I get the record to the form and then make it updatable using a technique specified by Vlad G in the UT FAQ.

The question field is displayed using an editbox and linked to a memo field in the cursor.

I only view the record, don't change anything. Yet GetFldState(-1) reports 2 for the Question field and therefore the useless UPDATE command is issued.

Do you know if possible to prevent this problem or I have to change the RecordChanged method? I'm also wondering if we have this problem on a bigger scale than this particular form only (where I noticed it) and have been performing unnecessary updates not realizing it.

Appreciate your responses in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform