on 05-17-2016 11:38 AM
Hi,
As my question suggests, I'm a beginner in Crystal Reports. I simply want to extract records from database and apply a formula on them at the same time.
I tried to create this formula :
WhilePrintingRecords;
ToNumber (Mid(Right (totext({ ...
The objective is to apply a formula to have a result for each column, but as you can see in the attached screeshot (red boxes), it only keeps the last column calculation.
Then a less important issue, what is this "second total column" (blue box) and how to get rid of it?
Cheers,
Adam
Hi Adam,
What is the formula you're tying to insert?
Could you elaborate more on what you're trying to do?
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the formula:
WhilePrintingRecords;
ToNumber (Mid(Right (totext({table2.field1}),8 ),1,2))*3 + ToNumber(Mid(Right (totext({table2.field2}),8 ),4,2))
The cross table is matching records from table 1 (lines: IMXXXX...) and table 2 (Columns:Application...)
I know this part is working fine because I tried it seperately:
ToNumber (Mid(Right (totext({table2.field1}),8 ),1,2))*3 + ToNumber(Mid(Right (totext({table2.field2}),8 ),4,2))
Is it clear enough or still not?
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 | |
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.