Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update sql with timestamp?
Message
From
12/05/2003 12:42:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00787368
Message ID:
00787391
Views:
35
>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.

I didn't see WhereType of CA work properly either. Create your own update statement IMHO.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform