I am trying to get MichaelRed's autonumber solution (faq700-184) working in one of my DB's.
My problem is that I can't debug becuse the following code:
'Update the Id value and (just for my own interest) the date/time stamp
With tblNewQiNum
.Edit
!QiNum = lngBigQiNum
!QiDateTime = Now()
.Update
End With
NewQI_Num = lngBigQiNum
I get the error that the Method or Data member is not found on the ".Edit" line.
What reference is needed to get this to work?
Thanks. Sean.
My problem is that I can't debug becuse the following code:
'Update the Id value and (just for my own interest) the date/time stamp
With tblNewQiNum
.Edit
!QiNum = lngBigQiNum
!QiDateTime = Now()
.Update
End With
NewQI_Num = lngBigQiNum
I get the error that the Method or Data member is not found on the ".Edit" line.
What reference is needed to get this to work?
Thanks. Sean.