on 04-12-2010 1:56 PM
Hello everybody,
Need some help about a pagebreak in my form.
I explain...
I have a subform that has two possible places :
-just after the previous subform
-at the top of the next page
the switch happens according a condition
I saw the tab for conditional breakpages but i understood it was usable with table structures only... so i can't do my breakpage with it.
I tried with script but i don't know what property i can use.
Do you have other alternatives that could solve my problem ?
Regards
Chris
Hello,
just in case you will not find the "proper" solution, you can always change the height of your components (or some dummy ones, like dummy subform before the "head"). So based on the condition you can change the height of that dummy field/subform to make the part you want to move to move on the second page. But thats a little crazy.
Probably you can come up with a form structure which will solve your problem in a very natural way, maybe with some little scripting.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found an issue about it,
It's a little bit crazy too but it does what i need.
The thing is that i wanted to edit a conditional breakpage to place a subform.
I didn't succeed it by script at first but then it worked.
I added a "fake" subform between the subform i wanted to move on the other page and the previous subform.
The property after of this subform is set to "go on next page", so it makes a pagebreak. My moving subform is then on another page. So, itt goes like this
SUBFORM 1 (previous one)
SUBFORM 2 (fake subform) BREAKPAGE !!
SUBFORM 3 (moving subform) top of next page because of BREAKPAGE, but property place is set to "following the previous"
The thing happens when i test my condition, if it is true, i set the fake subform to HIDDEN so the breakpage disappears. Subform 3 naturally goes under subform 1. So, i have the following structure
SUBFORM 1
SUBFORM 3 on same page
The subform
If you have cleaner issues, i'm interested in.
Regards
Chris
++ Thank you for your help Otto
Edited by: cabrita787 on Apr 14, 2010 10:24 AM
That is exaclty what I meant. Great one! Sometimes I wonder why these things have to be done in a crazy way:)) Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you eloborate your issue little more.
Regards,
Chandran S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, i can elaborate it
I need to force a break page on a subform according to a condition
example :
if company = 'toyota'
break-page... subform goes to another page
else...
nothing... the subform stays layed out as it is
endif
The concerned subform is at the end of my only body page, following other subforms.
If the condition returns true, i want this subform to be at the top of another page.
I have two master pages,
FIRST and NEXT
The subform i'm speaking about is on NEXT master page.
Do you need other informations ?
Regards
Chris
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.