2 page form

I have a two-page form. Page one is just a big graphic. Page two is also a big graphic, but with some merge fields laid on top.

Two problems:

1 - I can’t scroll to the bottom of page two, in either browse or design mode. This means I can’t change the size of the body, either, since I can’t get to the tag to select it.

2 - When I try to print it, I only get page one.

My method for printing is this:

	forms.contractsRptWarrantyMetalSales.controller.show();
	// return to original form
	forms[globals.formCurrent].controller.show();
	forms.contractsRptWarrantyMetalSales.controller.showPrintPreview(true);

I’m using Servoy 2.2b2, but I haven’t seen anything about this in release notes. Is this something stupid that I’m doing?

The body part problem is an easy one.

Go to preferences–Designer tab and adjust the max size settings

Print problem:

Not enterly clear; when you can make your form big enough, do you have to work with two forms ?
Why not just put them in one form with printsliding activated ?

hth

Thanks for pointing out that designer preference. I had never run across that before. At least now I can see the whole form. That one was just driving me nuts, and I just knew someone out there had the answer! :-D

I’m still having the problem with printing, though. Even though the body is two pages tall, and there’s stuff on both pages, only the first page previews and prints.

I am doing this all on one form. The method just establishes the data entry form to which to return, since the print form is only for printing, and doesn’t have any navigation, data entry, etc. I can reproduce the error independent of the method, though; if I just go to the form, do a preview and print, it’s as though the second page just isn’t there.

Any ideas?

I am not really clear your design, but if you are running into print sliding conflicts with the form, sounds like you might need and additional form that you would add to your method to print out additionally after your first form.

I’m not using print sliding at all.

I guess I am a bit confused then, I usually have data entry forms seperate from the forms I print. I guess I am not really sure what you are trying to accomplish, but sounds like to need two print forms, one to preview and on that will always default print.

I, too, have separate forms for printing and data entry. The form in question, though, is just a print form.

The form is two pages long. On page one there’s a big graphic. On page two there’s another big graphic and some text.

If I go to that form (via method, or just manually), and preview, I see only page one. If there are multiple records, I see page one for each of those records. When I print, only page one prints. It’s as though page two isn’t even there. I can see both pages in browse mode, though.

Neither the images nor the merge fields are set to slide or anything.

btw: The form is just a warranty form, most of which is boilerplate. I’ve just pasted pages one and two on this one form as graphics, and added a few merge fields to fill in blanks at the end for customer name, etc.

Well if you want a graphic to print on just the first page, you could use the title header, if there are multiple records they would be in the body, and if you wanted another grapihic to be display every time, you could use your trailing grand summary.

If I was follwing you correctly, just sounds like a form part configuation issue, hope that helps.

Erich

The whole thing is just body. Page one is an image that takes up most of page one. Page two is a graphic that takes up most of page two. They have neither a header nor a footer in common.

Just to be thorough, though, I made all of page one a header and all of page two a footer. In that configuration, you can no longer see page two in browse, and can’t see either page in preview. I don’t think this tells us anything, but I’m passing this on in case I’m missing a clue.

Did you verify that in the parts dialog you specified that the body part was permitted to break across page boundaries ?

hth

AHA! That’s the ticket!

I just knew it was gonna be something like that that I’d missed. Thanks so much! This one was drivin’ me nuts!

:-D