Dates, Textbox and Queries

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, have a question and hope you can help me out.

I have a form with two dates on it and I want to find the record that fall
between these dates.

My problem is that when I am creating the query, my syntax is messed up.
I'm using the design view and would like to use 'between' the two dates. I
need to get the #'s so access know that there are dates that it is working
with.

Any suggestions would be appreciated. Let me know if I didn't explain it
well.

Harv
 
hi,
Put this in your criteria pane. it will call the 2 dates
in your form. you wont need ##.
=[Forms]![yourform]![contol1] And <[Forms]![yourForm]!
[control2]
if the form is not open, you will be prompt for the date
parameters.
Regards
Frank
 

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

Similar Threads

Dcount returning no results!!! 0
query to pull between two dates 4
Crosstab Query based on Query 4
Query User Defined date range 2
Parameter Query 8
query on date 1
Parameter Queries 2
Excel Help with dates 2

Back
Top