Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Re;Looking Alternative to fldDateTime PrimaryKey

 
   Windows Help (Home) -> Microsoft Access RSS
Next:  Re-detect PM-HDD  
Author Message
user

External


Since: May 6, 2009
Posts: 1



(Msg. 1) Posted: Tue May 05, 2009 10:25 pm
Post subject: Re;Looking Alternative to fldDateTime PrimaryKey
Archived from groups: microsoft>public>access (more info?)

On Mon, 4 May 2009 08:53:47 -0400, "David" wrote:

>> Not sure if this is relevant to the very peculiar issue that you
>> describe!
>
>The SQL query isn't but the paragraph after is. Put in query for a
>complete
>read.
>
>Since Access uses a double to hold a date, that precision can go out to
>milliseconds. Access only displays dates to the second. Read some
>conflicting articles though that Access 97 (which I'm using) also only
>stores to second --- but I don't buy it .
>
>My guess is that each time I pass in [pDateEnd] and subsequently use this
>value in Seek, that the double is slightly different because of the
>milliseconds. Hence two records which display the same but are actually
>different.
>
>However, In trying compare both records with the same date in Access
>(debug.Print from VB5), it shows as the same datetime.
>
>Any idea how you can display milliseconds?

I'm not sure that this is the problem, but you could try using CDbl() to
convert the date time to a double, and multiply by 86400 to convert days
(date/time) to seconds.

 >> Stay informed about: Re;Looking Alternative to fldDateTime PrimaryKey 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Looking for an alternative to Access - I have an Access Database that is becoming too large and slowing down dramatically. I am looking for an alternative. I have a team of about 40 reps that enter information about customers. I need to have the fuctionality of Access (Forms, Reports..

Microsoft Office - Can you update Microsoft office version 2003 to 2007 or do you have to buy the newer version

From access to word - Print - Hello, We open word letter from access with hiperlink code. . . .. . . Application.FollowHyperlink "h:\DRISHOT\" & lettername & ".doc" Is it possible to print the letter instead of open it ? How ? thank you

the setting for this property is too long - Hello. I was running the Access performance option and for some forms and reports there was a message with this: the setting for this property is too long what is this? what should I fix in order to not receive this error. Regards, Marco

Me.Name results in "Invalid procedure call or argument" - I am debugging an Access application written by someone else. In Access 2003 it behaves OK, but the client needs to upgrade to Access 2007 for various reasons. When the app is run in Access 2007 I get a few niggles that I have been working through, but..
   Windows Help (Home) -> Microsoft Access All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]