Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Adapter behavior...
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01433143
Message ID:
01433146
Views:
55
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform