on 11-18-2022 9:54 AM
Hi Team,
Need some help to have a formula field to show number sequence start as below in decimal pattern:
1.1
1.2
1.3
At present, we have below formula field logic to have auto numbering with end result in whole numbers like 1,2,3,..
WhilePrintingRecords; <br>numbervar srno; <br> srno := srno + 1; .
Thanks in advance.
--
Regards,
AMP
Can anybody help me, please.
--AMP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Crystal, the value assignment operator is ':=' rather than '=' so change
srno = 1;
to
srno := 1;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you again for your response.
Tried updating as you suggested but results are not as expected. And even tried correcting with a small change in formula and results are not as expected. Below are the results for both the tried attempts.
Seems something is still to apply or correct but do not get it. Please see again and help me.
Thanks in advance.
--AMP
Simply initialize the variable to 1 in a report header formula.
Then use the formula you already have and increment by 0.1 instead of by 1
I suspect I don't understand where the real difficulty is. Can you clarify?
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.