on 09-19-2008 4:34 PM
Hi All,
I am new to smartforms and I am able to print what I need to. But the problem is when printing it in the table, fields are not getting printed in a straight line which to be in a clear sense the char fields are printing at the top of the row line where fields with curr and numc at the bottom.
something like
material description quatity price
9102202 arc lights
20.00 2,200.00
9103402 semi lights
12.00 1,100.00
Am I missing something. Can somebody please help me with this.
Regards,
Kiran.
Seems that the line is breaking. It's happening because your table must not have enough space (small line lenght).
Recheck the space you gave for each column (starting at the 3rd, since the first two columns are printing ok). Resuming, give more room for those columns.
Regards,
Valter Oliveira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your time.
I don't know whether I was clear in mentioning the problem. It was never going into the next line. It was printing like a sub script but with same sized fonts.
Single row in a table.
-
9102202 arc lights
20.00 1,200.00
-
The spacing is fine. I am passing the curr and numc values into a char field and it is printing it perfectly. But the problem now is the amount is not getting printed with a ','.
previously it was like 2,200.00 now its 2200.00.
Regards,
Kiran.
Hi kiran,
I got what is your problem, its all because of the leading spaces in your Numc Fields so make sure you condense them before print.
You can do it by two ways;
Assume you are having a numc field GV_NUMC.
1)Using code lines before printing as;
Condense GV_NUMC.
2) Another easiest way is to specify like below while printing;
&GV_NUMC(C)&
The C in the bracket will condense all leading spaces.
Give this a try and reply with the results.
Regards
Karthik D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kiran,
Declare the currency field in the global defintions currency/quantity fields tab of the smartfroms.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must use the TABLE node > Table Lines.
Create your cells for each field.
Create a Text Node under the each cell
So, Smartform would look like:
.MAIN
..TABLE " < create table lines. create cells in it same as per your columns in output
...HEADER
...MAIN
....LINE
.....CELL1
...... TEXT1
.....CELL2
...... TEXT2
.....CELL3
...... TEXT3
...FOOTER
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.