Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Numbering on Reports 1

Status
Not open for further replies.

shawnmicha

Programmer
Nov 22, 2008
2
US
Add code to your report - if you select the report, right-click, select "Properties", and select the code tab, you can type the following in:

Shared curCounter As Integer = 0

Function incCounter() As Integer

curCounter = curCounter + 1

Return curCounter

End Function

Then, in your report, in a field expression, type =Code.incCounter()

Thought this may be helpful since it took me a while to piece it together from a number of posts to various forums.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top