Making report using data in form

  • Thread starter Thread starter Smoki
  • Start date Start date
S

Smoki

Hi,
I have a problem with making report.
In fact, a have a form with subform, and when I choose something in combo
box in form, subform fills all fields with records. And then, I want to print
that. So I make report with the same fields which form with subform has, but
my report always shows report with the first record from combo box. I mean,
when I choose something else in combo box, my report again shows first value
from combo box.
How to change this?
 
Forms are not designed for printing. Reports are designed for printing. You
can fairly easily print one record at a time from a form by installing a
command button. I would create a report with the same data used in your form
and put a command button on the form that causes the report to print. The
command button wizard will do that for you.
 
I already made a command button on my form to print report, but it doesn't
work like it should.
In fact, my form has only one combo box, and everything else is in subform.
I use this combo box to choose some of network equipment (router, switch,
pix,...) and subform has fields (location, serial number,...). But report
always print data for router (maybe it is first on list). For example, when I
choose switch, and click command button for printing report, it show again
report for router.
That's my problem, and i don't know how to change it?!
 
Back
Top