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!

Printing Reports

Status
Not open for further replies.

JRA

Programmer
Apr 19, 2001
106
0
0
CA
Hello,

I have created my table, form and report, and now I want ot print my report. What is happening though is that each line in my table contains data for a specific month and when I print my report, it's printing the data for every month. What I want to do though is only print the month as requested by the user.

How do I set up a pop-up box so that when the user clicks the print button it will then ask the user to select a month as determined by a combo box linked to the table listing months that have already been input?

I am also a junior programmer, so I really, really need help.

Thanks in advance,
James.
 
run the report from a query, in the query criteria box have the line of code where the date is stored: you need to create an exression in your field
field: Expr1: DatePart("m",[Date])
criteria: [Please enter the month required:]

this will create a popup box that will ask for the month

hth
Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top