lexi0088
Technical User
- Sep 7, 2004
- 49
I am trying to number my rows that appear in my queary. The query actually goups and sums data, so the count function will not work. I have the following code in my module:
Global IncrementVariable As Integer
Function IncrementValues(QTY) As Integer
IncrementVariable = IncrementVariable + 1
IncrementValues = IncrementVariable
End Function
The following field in my query:
Seq #: IncrementValues([QTY])
The problem is that the number does not start with 1, it starts with 2 and then increments by 2. It aslo does not reset when I close and rerun the query. Please help.
Global IncrementVariable As Integer
Function IncrementValues(QTY) As Integer
IncrementVariable = IncrementVariable + 1
IncrementValues = IncrementVariable
End Function
The following field in my query:
Seq #: IncrementValues([QTY])
The problem is that the number does not start with 1, it starts with 2 and then increments by 2. It aslo does not reset when I close and rerun the query. Please help.