On Sat, 22 Jan 2005 11:00:15 +0800, "kaming" <gu***@guest.com> wrote:
Dear all,
I found that I can't update or delete a DB2 record with timestamp using
Access through ODBC. The Access complains "No current record" while I
attempt to update or delete the record with timestamp.
Do anyone have idea of how to fix this problem?
Thanks in advance!
Henry
I'm really surprised that no one up to now was able to tell you why
this will never work ... DB2 supports fractions of a second to six
decimal places (i.e. microseconds) and Access only goes to a
granularity of one second (no fractions). No patch exists because this
is an impossible thing to do. Access will never be able to distinguish
rows where the difference in timestamp values is less than one second.
The Access DATETIME data type is mapped to the ODBC data type
SQL_TIMESTAMP, but ... no fractions.
Note that MS-SQLServer uses yet another kind of "timestamp" data type
(a kind of AutoNumber automatically generated surrogate key) which has
nothing to do with the ODBC SQL_TIMESTAMP type.
Good luck.
--
Bob Hairgrove
No**********@Home.com