C
Clay
I have a 2-part question here:
1. I have a form (frmcustomerdata) with many fields on
it. I want to have a print button on the form that will
print a report for the particular record shown on the
form. Does anyone have some useful code that I can
insert into the on-click event of the print button on my
frmcustomerdata that will only print the current record
loaded on the form? Also - will this work if I have
subforms on the frmcustomerdata? (what i have is a
subform that is linked by custID to many other subforms
that also have the same custID.)
2. second, i am having a problem with check-boxes. i
have many checkboxes (yes/no) with many different
options. for example, "roof leaks?" - if the user checks
the checkbox, thus making the value = yes, I want it to
print on the report. However, if the user does not check
the check box and there is a "no" value in it, I don't
want the checkbox field to even show on the report. In
other words, only show the fields and their values on the
report if the checkbox is checked. Any suggestions and
where to begin?
I hope I have been clear enough - thanks in advance for
any advice.
Clay
1. I have a form (frmcustomerdata) with many fields on
it. I want to have a print button on the form that will
print a report for the particular record shown on the
form. Does anyone have some useful code that I can
insert into the on-click event of the print button on my
frmcustomerdata that will only print the current record
loaded on the form? Also - will this work if I have
subforms on the frmcustomerdata? (what i have is a
subform that is linked by custID to many other subforms
that also have the same custID.)
2. second, i am having a problem with check-boxes. i
have many checkboxes (yes/no) with many different
options. for example, "roof leaks?" - if the user checks
the checkbox, thus making the value = yes, I want it to
print on the report. However, if the user does not check
the check box and there is a "no" value in it, I don't
want the checkbox field to even show on the report. In
other words, only show the fields and their values on the
report if the checkbox is checked. Any suggestions and
where to begin?
I hope I have been clear enough - thanks in advance for
any advice.
Clay