Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Adapter behavior...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01433143
Message ID:
01433146
Vues:
54
>hello...
>
>I am working with the Cursor Adapter, but when the UpdateInsertCmd is generated the table name in the sentence is
>lower case converted, the table name is "DEPA(DEPARTMENT)" but is converted to "depa".
>
>The cUpdateInsertCmd(in the AfterUpdate method) show :
>UPDATE depa SET NOMB_DEPA=?cadepa.nomb_depa WHERE CODI_DEPA=?OLDVAL('codi_depa','cadepa')
>
>The correct instrucion may be :
>UPDATE DEPA SET NOMB_DEPA=?cadepa.nomb_depa WHERE CODI_DEPA=?OLDVAL('codi_depa','cadepa')"
>
>THIS generate a error because the database is case sensitive.
>
>any help is great apreciated!

1. Did you try setting the command in code?

2. You also may try

update D set Field = ?param from DEPA D where ...
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