Hour to pass as criterion in a query

F

Frank Dulk

I have a field in my table that is of the type it dates / hour.
I have a query where I pass the date as criterion, but also wanted the hour
to pass.

how do I make that?
 
R

Rebecca Riordan

Wrap the whole thing in # symbols:

#June 3, 1984 16:00pm#

HTH
--
Rebecca Riordan, MVP

Designing Relational Database Systems
Microsoft SQL Server 2000 Programming Step by Step
Microsoft ADO.NET Step by Step

http://www.microsoft.com/mspress

Blessed are they who can laugh at themselves,
for they shall never cease to be amused...
 
F

Frank Dulk

But the one that I want is to pass through fields the initial date and the
final date and through other field the final hour and the hour initial.
 
F

Frank Dulk

Like this:

I have a field in the table a field it dates / hour where is stored the date
and the hour and I want to do a query where I spend as criterion the hour.
 

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