T
Thomas
Hello in my database I was using the
autonumber for a SortNumber Increment.
I replicated the database and in the process
the AutoNumber was converted into a random
number. I read it would change the value but
I thought it meant field size to ReplicationID.
At any rate does anyone have code that
would create Value +1 to the SortNumber TextBox.
98
99
100
I have to add it myself now.
If I could just add code to the AfterUpDate event
of my ComboBox. I have tried modifying some posts
I have found here in the news group to fit my needs
but this don't work
Private Sub ServicesID_AfterUpdate()
Dim strMax As String
strMax = ("SortNumber")
Me!SortNumber = "SortNumber" & Right(strMax, Len(strMax) - InStr(1, strMax,
"-")) + 1
End Sub
Any input much appreciated
Thanks in advance
Tom
autonumber for a SortNumber Increment.
I replicated the database and in the process
the AutoNumber was converted into a random
number. I read it would change the value but
I thought it meant field size to ReplicationID.
At any rate does anyone have code that
would create Value +1 to the SortNumber TextBox.
98
99
100
I have to add it myself now.
If I could just add code to the AfterUpDate event
of my ComboBox. I have tried modifying some posts
I have found here in the news group to fit my needs
but this don't work
Private Sub ServicesID_AfterUpdate()
Dim strMax As String
strMax = ("SortNumber")
Me!SortNumber = "SortNumber" & Right(strMax, Len(strMax) - InStr(1, strMax,
"-")) + 1
End Sub
Any input much appreciated
Thanks in advance
Tom