Need help, for a query 
Author Message
 Need help, for a query

I need some help to do a query...Here is what I want. I want to be able to
have all event that is in my database between Monday and Friday, but only
between 4:00pm and 5:00pm at each day(between Monday and Friday).

In my database, I have a field named 'DT', and is type is date/time... And
in all record, this field have it's both part(Date and time). I'am using VB
4.0. I'am not using any SQL server... I'am using the OpenRecordSet method to
run my select Query...

How can I write this query ?

Thanks, for anyone help !



Sun, 09 Jul 2000 03:00:00 GMT  
 Need help, for a query

Hi Alexandre,

may try something around:

TimeValue(FieldName) BETWEEN  #4:00 PM# AND #5:00 PM#

Hope it may help,
Vanderghast, Access MVP.

Quote:

>I need some help to do a query...Here is what I want. I want to be able to
>have all event that is in my database between Monday and Friday, but only
>between 4:00pm and 5:00pm at each day(between Monday and Friday).

>In my database, I have a field named 'DT', and is type is date/time... And
>in all record, this field have it's both part(Date and time). I'am using VB
>4.0. I'am not using any SQL server... I'am using the OpenRecordSet method
to
>run my select Query...

>How can I write this query ?

>Thanks, for anyone help !



Tue, 11 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help with this query please. Access 2002

2. Need help with a query, and SQL

3. Need help to improve query, response time

4. Need Help with Update Query VB 6/SQL 7

5. I need help with Union query in VB

6. Need help with SQL-query

7. Need help with SQL query 'AND'ing a field against a constant

8. Need help with SQL query

9. Need help with Registry Query.

10. I need help with UNION query in VB

11. Need help with SQL-query

12. Need help with SQL-query

 

 
Powered by phpBB® Forum Software