D
drvice
I have a messy problem I've been working on and have made something
almost work, but have run into a snag.
Here's the issue:
I've been tasked with building a "report" that is about 3 pages long.
The requirement is that this "report" will pull data from access
tables to fill some of the fields on the "report" and some of the
fields will remain blank. All fields need to be editable so the user
can change them before the "report" is printed.
In order to accomplish this, I've created a form. Unfortunately, the
form is larger than 24", so I created a 2nd form to house the rest of
the fields. I added this 2nd form to the first form as a subform. So
far, so good...
To load the data, I first ask the user for input using a few
InputBox's and dynamically alter the SQL of a query using a QueryDef
(setting the SQL parameter). I then use a ADO recordset to pull the
data out of the edited query, and populate the textboxes in the forms
(each form uses it's load event to pull it's data into it's fields).
Again, it works.
Here's where the problem comes in. When I Print Preview the form, the
data is all there. When I to the actual print to the printer...the
data in the subform is gone.
Has enyone seen this problem or know how to fix it?
Thanks in advance.
Dan
almost work, but have run into a snag.
Here's the issue:
I've been tasked with building a "report" that is about 3 pages long.
The requirement is that this "report" will pull data from access
tables to fill some of the fields on the "report" and some of the
fields will remain blank. All fields need to be editable so the user
can change them before the "report" is printed.
In order to accomplish this, I've created a form. Unfortunately, the
form is larger than 24", so I created a 2nd form to house the rest of
the fields. I added this 2nd form to the first form as a subform. So
far, so good...
To load the data, I first ask the user for input using a few
InputBox's and dynamically alter the SQL of a query using a QueryDef
(setting the SQL parameter). I then use a ADO recordset to pull the
data out of the edited query, and populate the textboxes in the forms
(each form uses it's load event to pull it's data into it's fields).
Again, it works.
Here's where the problem comes in. When I Print Preview the form, the
data is all there. When I to the actual print to the printer...the
data in the subform is gone.
Has enyone seen this problem or know how to fix it?
Thanks in advance.
Dan