Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bringing up entered dates

Status
Not open for further replies.

commanderrico

Technical User
Jul 21, 2003
23
0
0
US
Hello,
I have a bunch of records with a date field in the format
MM/DD/YY. What I want to do is create a form in the
program that allows a user to enter a month and a year and
the click a button and the program will generate a report
that shows every record that corresponds with that month
and year. I'm kinda new at this so you'll have to walk me
through most of it if you can. Thanks for your help.

Rico
 
Rico,

On your form, create two text boxes (ie: txtStartDate and txtEndDate). In the record source for your report, use the values input by the user in the two text boxes as date criteria to drive your report. (ie: Between [Forms]![frmMyform]![txtStartDate] And [Forms]![frmMyform]![txtEndDate])

HTH,

JK

Attitudes are contagious
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top