Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate returns FALSE when Desc field changed. Why?
Message
De
24/11/1999 08:49:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00294733
Message ID:
00294940
Vues:
20
>Eric,
>
>The field name is DESC and the field is updatable and the AERROR() returned:
>
>10 - "Syntax Error"
>
>I will change the field name to something else and try again. I gave up last night and didn't get back on till this morning.
>
>Thanks

I am 100% sure that this is the problem. VFP is usually ok with field and variable names that are VFP keywords, but using an SQL keyword (DESC is short for descending) as a field name is bad news because the SQL engine can't make sense of it. (As you know, doing a TABLEUPDATE on a view causes VFP to build and execute an SQL UPDATE statement, inevitable containing your field name).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform