PC Review


Reply
Thread Tools Rate Thread

Date and Time Reporting

 
 
=?Utf-8?B?TWlrZSBIdW50?=
Guest
Posts: n/a
 
      28th Jun 2006
I am accessing a POS System thru a ODBC Driver, the Transaction date and time
are held in 2 fields in the POS System. I can concatenate the Date and Time
in the following format 01/06/2006 5:49:03 PM with a query.

When I try run the same query with selections between 01/06/2006 5:00:00 PM
and 02/06/2006 2:30:00 AM. It will only display the 01/06/2006 transactions

Can anybody help with this problem please?

 
Reply With Quote
 
 
 
 
Arvin Meyer [MVP]
Guest
Posts: n/a
 
      28th Jun 2006
Save the query with the concatenated column. Open a new query using the new
column from the first query. Remember that SQL is written in US Date format,
(mm/dd/yy) so you'll need to write the second query like:

Select * from Query1 Where Query1.NewDateField Between #6/1/06 5:00 PM# And
#6/2/06 2:30 AM#;
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access

"Mike Hunt" <(E-Mail Removed)> wrote in message
news68B2FD9-D8D8-41C0-8CEB-(E-Mail Removed)...
>I am accessing a POS System thru a ODBC Driver, the Transaction date and
>time
> are held in 2 fields in the POS System. I can concatenate the Date and
> Time
> in the following format 01/06/2006 5:49:03 PM with a query.
>
> When I try run the same query with selections between 01/06/2006 5:00:00
> PM
> and 02/06/2006 2:30:00 AM. It will only display the 01/06/2006
> transactions
>
> Can anybody help with this problem please?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting text format of time/date into Excel time/date for subtr YY san. Microsoft Excel Worksheet Functions 5 25th Feb 2010 07:13 AM
Calculating days & time left from start date/time to end date/time =?Utf-8?B?bWFyaWU=?= Microsoft Excel Worksheet Functions 7 7th Dec 2005 02:36 PM
Date/Time datatype in Access 2003 affects date/time duplicate quer =?Utf-8?B?VGltIFQ=?= Microsoft Access Queries 4 27th Jun 2005 02:20 AM
Calc. Length of time with time-in, time-out, date-in, date-out in diff. columns Niceven Microsoft Excel Misc 2 28th May 2004 04:31 PM
Reporting on time portion of general date field Brian Roberts Microsoft Access Reports 3 21st Aug 2003 06:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:10 AM.