• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

crystal report problem

The formula above help me to iniciate a numbering A,B,C depending the lines in a form,
but i want to reiniciate the numbering A,B,C every change of page when iniciate nummbering in 1, im attaching the report for you guys seen what the problem is.
In the field ref the number is the sheet number but the letter is build with this formula


NumberVar x;
NumberVar y;
If pagenumber<> x Then
    y:= 1
Else
    y:= y+1;
If pagenumber<> x Then
    x:= pagenumber;
chr(y+64)


regards
edo
Crystal-Reports---.pdf
0
Ernesto
Asked:
Ernesto
  • 4
1 Solution
 
mlmccCommented:
DO you have a RESET PAGE NUMBER set for the group?

How about adding a formula in the group header to reset y?

WhilePrintingRecords;
NumberVar y;
If Not InRepeatedGroupHeader then
    y := 0;
""

Your formula becomes
WhilePrintingRecords;
NumberVar y;
y := y + 1;
chr(y+64)

mlmcc
0
 
ErnestoAuthor Commented:
do the same,
regards
0
 
ErnestoAuthor Commented:
think it work
im understand
regards!!!
0
 
ErnestoAuthor Commented:
tsm, you rules
0
 
ErnestoAuthor Commented:
excelent solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now