>Hi,
>
>Here is what I did,
>
>1. Using sqlexec to get a table with a timestamp column on sql2000 in a com server
>2. convert the cursor to xml and pass it to my client
>3. convert the xml back to cursor
>4. did my update and pass it back to com in xml format using xmladapter.ChangesToCursor
>5. Convert the xml back to cursor in com
>6. Attach the cursor using cursoradapter and set primary key, updateable, updatefield...
>7. Set my wheretype = 4 && TimeStamp
>
>The update didn't work properly. I open the sql profiler, it did only update my table using primary key field only.
Hi Tony,
The cursor created by SQLEXEC has information about timestamp column.
Are you using the same cursor for TABLEUPDATE? If you are using a brand new cursor created by XMLAdapter then it obviously doesn't know anything about timestamp and there is nothing wrong with CursorAdapter.
Thanks,
Aleksey.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only