Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter SQLCE Updating
Message
From
05/05/2008 21:46:21
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01314075
Message ID:
01315242
Views:
24
>I think I know what the problem is for this error.
>
>The CA is sending: UPDATE Orders SET SHIP_NAME=?cursor1.ship_name WHERE ORDER_ID=?OLDVAL('order_id','cursor1')
>
>The problem is SHIP_NAME does not exist in the source DB, it is "Ship Name", VFP add the _ to fill in the blank.
>
>Is there a way to fix this? I need the update statement to look like this:
>UPDATE Orders SET "SHIP NAME"=?cursor1.ship_name WHERE ORDER_ID=?OLDVAL('order_id','cursor1')
>

You might try to fix the updatecmd yourself in the .BeforeUpdate() Method
You might try fiddling with UpdateFieldList or defining fixed statements.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform