on 10-10-2008 10:07 AM
Hi Guys,
I am facing a strange issue in printing a smartform. I would like to have any expert advice on the same.
I am displaying the VAT no on the PO form and the VAT No is like this '110 012'. There is space between 110 and 012, it is a single field value. But when I take a print preview or a printout. It is showed as '110#012'.
When I check it in debug mode, it does not display the # sign. The domain for VAT No is STCEG which is a character field.
Please let me know if anyone has any solution for the same.
Thanks,
Mayank
Hi,
Does this happen for all VAT numbers? Just as a test go to the master data and manually delete the space and then put it back - I'm guessing that this data was entered originally from a cut&paste source. Worth a try just to see what happens....
Regards
Stu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
please try the belowcode it will replace ur # symbol with space.
data: var type string,
Var1 type string,
Rule(60) value '# '.
var = '110#012'.
TRANSLATE var USING RULE.
write var.
regards,
sreelakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.