on 08-25-2008 2:12 PM
My 1st req was:
i want the field which is condionally come in my form , when the value is null it wil not be displayed and when the value is not null
the field shud be displayed this is my 1st requirement
now this i hve achieved now
2nd is ( The space occupied by the field if it is not displayed wil also be nullify ).
Suppose there are 5 field in which 3 field have value , now i want only to display those 3 fields and also the space which wil occupied is of 3 only.
dynamically the below field wil come up if the value of above field is null.
Hi,
As you mentioned earlier have you wrapped a postioned subform inside a flowed subform or you just taking a single subform of type flowed?
Try doing taking two subforms,
parent subform------Flowed->western text
subform----
positioned
Thanks,
Praveena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your earlier response u mentioned as
" 2) flowed with western text , field come side by side but still manupulation of field is nt achieved.
can you please explain me clearly about this ? are you getting the values properly?
the value field is coming on left side and text field on right side ... "
" 2) flowed with western text ,
field come side by side but still manupulation of field is nt achieved.
can you please explain me clearly about this ?
are you getting the values properly?
the value field is coming on left side and text field on right side ... "
If i define it with western text the fields are coming side by side ..means eg
these are two fields in positioned form. one is text and another is value
Total PF 9025.
if i change it to flowed top to bottom output will be
Total PF
9025
the value field is coming on left side and text field on right side .
and if i change it to flowed western text output will be
9025 Total PF
Edited by: Ankesh Jindal on Aug 26, 2008 2:09 PM
Edited by: Ankesh Jindal on Aug 26, 2008 2:09 PM
Edited by: Ankesh Jindal on Aug 26, 2008 2:11 PM
Hi,
We also faced same type of Problem.Tried all the ways in designing but no use.
Instead of taking fields as text fields take as rows in table.
Bind that table to internal table.
In program create internal table take the corresponding data in that.
Advantage : if there is no value for 1 field then won't take into
internal table.
Imagine A,B,C,D,E are fields which u need to display.if B value is '0' immediatly after A's value it will tke C's value.
By binding table to this internal table after A' s Value C's value
will get displayed in second row, with out any space.
Regards
Bhuvaneswari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For the 'Flowed' Subform make the Flow Direction as 'Western Text' and check it out once.
Thanks,
Praveena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still i am facing problem in adjusting the field as when i define my subform as
1) flowed with top to bottom , all the field come to the left with one over other and i could not do any manupulation
2) flowed with western text , field come side by side but still manupulation of field is nt achieved.
the value field is coming on left side and text field on right side ...
this flowed is having very typical type properties... !!!
why they cant made a simple flowed form whr u can place our object ever we want to see them..!!!!!!!!
For your example: if you have
5 fields in a subform in which only 3 of the
fields has values, the space of the subform
will be adjusted to this 3 fields.
I am facing this problem : that when i declare the form as flowed then all the fields will move toward left side , what will i do if i want to positioned the object in flowed form ..
one option is that i will declare one positioned form in parent flowed form but in that case whether the flowed properties of the form will be maintained or not .!!!!
Edited by: Ankesh Jindal on Aug 26, 2008 12:18 PM
Edited by: Ankesh Jindal on Aug 26, 2008 12:19 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankesh,
Flowed if the subform is defined as 'Flowed',it will adjust the space according to the values displayed.
For your example: if you have 5 fields in a subform in which only 3 of the fields has values, the space of the subform will be adjusted to this 3 fields.
Positioned if it positioned, even if you don't have the values for some of these fields the space will be displayed for all the five fields.
Thanks,
Praveena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reema
I had already done with this part now means value or field or form wil not be displayed when the value is null , now i want if i had defined one field in one form say subform1 and if the value inside this subform field is null then two things will happen
1. field wil not be displayed .
2. its below form wil move up in its place .
Also structure the layout in the following manner...
1. Create a subForm - eg subf_Main - Flowed - Top to Bottom
2. Create 5 subForms - eg subf_1 .. subf_5 - Flowed....
3. Create each field in each of the subforms.
I want to know about what is Positioned and what is flowed i know their meaning but still yet to understand their flow.
The problem is :
suppose if i define the form as flowed then all the fields in it come to the left side and i cannot change the position of those fields
if i want to change the position of fields in flowed that what i hve to do ????
Edited by: Ankesh Jindal on Aug 26, 2008 6:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankesh,
Try this:
At the initialize event for each field, write the following code:
if ($.rawValue.isNull() == 1) then
$.presence = "hidden"
$.relevant = "-print"
endif
Also structure the layout in the following manner...
1. Create a subForm - eg subf_Main - Flowed - Top to Bottom
2. Create 5 subForms - eg subf_1 .. subf_5 - Flowed....
3. Create each field in each of the subforms.
Regards,
Reema Shahbazkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.