Control form print preview

G

Guest

Access 2000 SP3 (.adp)

I have a form with box's, using the onCurrent event the sizes of these box's
alters to fit the contents of the text or pictures, but does NOT go over 1
page ever.

Fine, except when I print preview all records, the first page seem to
dictate how ALL the other pages are formatted. If I go to each page
individually and print preview, then the onCurrent kicks in and formats it
correctly.

Are there any events which occur during the print preview of a form which
may help me out here?

I've got the code to work, just need somewhere to pt it / call it from.

Many thanks!
Steve'o
 
R

Rick Brandt

Steve'o said:
Access 2000 SP3 (.adp)

I have a form with box's, using the onCurrent event the sizes of
these box's alters to fit the contents of the text or pictures, but
does NOT go over 1 page ever.

Fine, except when I print preview all records, the first page seem to
dictate how ALL the other pages are formatted. If I go to each page
individually and print preview, then the onCurrent kicks in and
formats it correctly.

Are there any events which occur during the print preview of a form
which may help me out here?

I've got the code to work, just need somewhere to pt it / call it
from.

Don't print forms. Print reports. They have the CanGrow ability built in
by the way.
 
G

Guest

OK, but that is a complete duplication of code and effort, these things are a
little complex. The reason Im not using the can shrink and grow properties
(they have them on both the forms and reports) are that the text box's are
Rich text box's and they don't have these properties, plus with this case I
have to be able to shrink and grow the last 3 to the same hieght, no matter
what the contents. This all works in the form, it just seems crazy that I
have to recode everything again.
But if thats what it is, thats what it is I guess.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top