Continuous alpha labels in reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to label report detail rows alphabetically? I know about the
running sum function to number report details 1,2,3,etc...but is there a
similar function for labeling rows A,B,C,etc...?
 
Can you not just increment the ascii and display?
Asc( to get the code and Chr( to display alpha characters.

Chr(Asc([MyData])+1)
 
Does this formula go into the Control Source field of a text box in the
report? What does the [MyData] refer to?

KARL DEWEY said:
Can you not just increment the ascii and display?
Asc( to get the code and Chr( to display alpha characters.

Chr(Asc([MyData])+1)

yvette said:
Is there a way to label report detail rows alphabetically? I know about the
running sum function to number report details 1,2,3,etc...but is there a
similar function for labeling rows A,B,C,etc...?
 
[MyData] is the data source for the row number.

You mentioned you knew how to use "the running sum function to number report
details 1,2,3,etc..."

Use your running sum function with VISIBLE property set to No. Use that
field as data source for this text box.

The character "A" is ascii 65. So take the row count plus 64.

Something like Chr( [YourRunningSumTextBox]+ 64)

yvette said:
Does this formula go into the Control Source field of a text box in the
report? What does the [MyData] refer to?

KARL DEWEY said:
Can you not just increment the ascii and display?
Asc( to get the code and Chr( to display alpha characters.

Chr(Asc([MyData])+1)

yvette said:
Is there a way to label report detail rows alphabetically? I know about the
running sum function to number report details 1,2,3,etc...but is there a
similar function for labeling rows A,B,C,etc...?
 
It works! THANK YOU.

KARL DEWEY said:
[MyData] is the data source for the row number.

You mentioned you knew how to use "the running sum function to number report
details 1,2,3,etc..."

Use your running sum function with VISIBLE property set to No. Use that
field as data source for this text box.

The character "A" is ascii 65. So take the row count plus 64.

Something like Chr( [YourRunningSumTextBox]+ 64)

yvette said:
Does this formula go into the Control Source field of a text box in the
report? What does the [MyData] refer to?

KARL DEWEY said:
Can you not just increment the ascii and display?
Asc( to get the code and Chr( to display alpha characters.

Chr(Asc([MyData])+1)

:

Is there a way to label report detail rows alphabetically? I know about the
running sum function to number report details 1,2,3,etc...but is there a
similar function for labeling rows A,B,C,etc...?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top