Dave,

To my far-from-expert knowledge...

Key field values are used to create the WHERE clause of the generated SQL
update statement.  AFAIK, one cannot update a key fields value directly.
Instead, you have to insert a row with the key field values you want.
This is a database limitation, not an ND limitation.

The way we similate an update the changes a key field value is to wrap in
a transaction, the insert of the row with the modified key fields, and
a delete of the original row.  After committing the transaction, the end
results kinda of appears to be an update of a key field.

Later,
Ryan

Dave Bartolotta wrote:
> 
> I am using setValue() to update some fields during an executeUpdate (within a
> CSpTransaction).  The table is a udb table.  The setValue() method does not let
> me set the value of the key field of the table.  I can't find this documented 
>anywhere.
> 
> Is there something I am missing for a key field?
>
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to