on 12-23-2008 5:41 AM
Hi experts
I have requirement like this while printing header in smartform
my header labels are dynamically print if value are not empty in header labels value field
pls any one tell me how to do that and sample code pls.
Thanks
sri
Hi
Put a condition for the header labels in the conditions tab...for the fields you are displaying in the smartform.
In condition tab, just say header field is not equal to initial.
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
thank u hari, prashanti, jayanthi
its working but my user wants like this
in between fields it displaying gaps user wnat dynamically printing continuous in the output
with out gaps
example: In table
slno. name1 m1 m2 m3 total
1 abc 50 50 160
if value empty in m3 it showing gaps in between m2 total
slno. name1 m1 m2 gap displaying total
1 abc 50 50 gap 160
my final output like this
slno. name1 m1 m2 total
1 abc 50 50 160
This problem sloved my slef , thank you all
thanks & regards
sri
Edited by: k srinivas on Jan 20, 2009 9:12 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
slno. name1 m1 m2 m3 total
1 abc 50 50 160
for column M3
create 2 text node.
1. in condition tab of text node specify M3 ne ' '.(for getting details if value of M3 is present)
in editor &M3&
2. in condition tab of text node specify M3 eq ' '.(for getting details of TOTAL).
in editor &TOTAL&
for column TOTAL.
in condition tab of text node specify condition M3 ne ' '.
thank u all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create alternative node.Mention the condition in General attributes.
Keep the value only in the required True/False based on condition.
Ex:
Condition: field = space
Keep the value in false block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Srinivas,
before printing the variables ..
assign whatever u want to display to some variables ..
SAY var and den in text elements in general attributes write &var& , in output options write the column and row number where u want to display if u have created a template for the same .
then in condition check var not equal to initial .
if the variable contains value then only it will get displayed .
hope it helps u !!!!!!
reagards,
prashanti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.