Seek type:DateTime Problems

D

David

I'm using a DateTime field type as a PrimaryKey

(even if PrimaryKey was autonumber and an indexed DateTime field type the
problem is the same)

When Seeking a DateTime a .NoMatch condition may arise because the datetime
is actually stored as a double. If the .NoMatch condition is used to
distinquish between .Edit or .Add, a record may be added when edit is
desired. Consequently, multiple records in the DB which appear to have
the same datetime stamp (display only) when in fact they are slightly
different because of the decimal precision.

Anyone have a workaround
OR
whether it is best to store a datetime as a text field (YYYYMMDDHHMMSS
Timezone) in Access?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top