K
kev100 via AccessMonster.com
I'm needing a query to display all records created After a certian Time on a
specific DATE.
The table contains fields for the Date and Time seperately.
Currently, it will prompt the user for the date, then the time.
The sort simply has the sort order / criteria of, first ....all records after
the user entered Date...then all after the user entered TIME.
However, while the result will correctly display all records created after
the entered DATE.....it will only show the records after the entered TIME on
all those displayed dates.
For example. The user needs to display all records created after a certain
Time on a Specific date (e.g. Show me all records created after 3:30 PM on
5/23/06).
.....But.....the query needs to return records created on, for example 5/23/06
at 3:35 PM, 4:50 PM, 11:15 PM......and on 5/24/06 at 8:15 AM, 10:20 AM, 4:35
PM, 6:14 PM, and later, etc.
HOWEVER...what will currently display in the above example is:
5/23/06 at 3:35 PM, 4:50 PM, 11:15 PM......and on 5/24/06 but only at 4:35
PM, 6:14 PM, and later.
The records on 5/24/06 before 3:30 PM are excluded. They need to be INcluded
b/c they were created AFTER 5/23/06.
I'm thinking that this must be a simple issue....I just can't seem to get it.
With 2 seperate fields for Date and Time....how can the query tie the user
entered time to just ONE date?
Thanks very much...hope that makes sense.
specific DATE.
The table contains fields for the Date and Time seperately.
Currently, it will prompt the user for the date, then the time.
The sort simply has the sort order / criteria of, first ....all records after
the user entered Date...then all after the user entered TIME.
However, while the result will correctly display all records created after
the entered DATE.....it will only show the records after the entered TIME on
all those displayed dates.
For example. The user needs to display all records created after a certain
Time on a Specific date (e.g. Show me all records created after 3:30 PM on
5/23/06).
.....But.....the query needs to return records created on, for example 5/23/06
at 3:35 PM, 4:50 PM, 11:15 PM......and on 5/24/06 at 8:15 AM, 10:20 AM, 4:35
PM, 6:14 PM, and later, etc.
HOWEVER...what will currently display in the above example is:
5/23/06 at 3:35 PM, 4:50 PM, 11:15 PM......and on 5/24/06 but only at 4:35
PM, 6:14 PM, and later.
The records on 5/24/06 before 3:30 PM are excluded. They need to be INcluded
b/c they were created AFTER 5/23/06.
I'm thinking that this must be a simple issue....I just can't seem to get it.
With 2 seperate fields for Date and Time....how can the query tie the user
entered time to just ONE date?
Thanks very much...hope that makes sense.