K Kyriakos Registered User. Local time Today, 13:22 Joined Feb 18, 2006 Messages 42 Feb 28, 2006 #1 Hey all. I have this issue to solve. I made a report based on a very complex query and I now have to number each individual record within the report. I know it is something inside the properties, but I don't know what exactly. Help anyone?
Hey all. I have this issue to solve. I made a report based on a very complex query and I now have to number each individual record within the report. I know it is something inside the properties, but I don't know what exactly. Help anyone?
allan57 Allan Local time Today, 11:22 Joined Nov 29, 2004 Messages 336 Feb 28, 2006 #2 1. Create an unbound text box in the detail section of the report called txtRefNumber 2. In the vb code of the report add the following:- Dim intRefCounter As Integer Option Compare Database Option Explicit Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) intRefCounter = intRefCounter + 1 txtRefNumber = intRefCounter End Sub
1. Create an unbound text box in the detail section of the report called txtRefNumber 2. In the vb code of the report add the following:- Dim intRefCounter As Integer Option Compare Database Option Explicit Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) intRefCounter = intRefCounter + 1 txtRefNumber = intRefCounter End Sub
R Rich Guest Feb 28, 2006 #3 Add an unbound textbox, set the control source to =1, set the RunningSum property to overall