S
Steve
Hi,
Here is the thing:
With rs
If Not (.BOF And .EOF) Then
CountOfOrderID = CountOfOrderID + 1
.Update
Else ' there is a new insertion
.AddNew
CountOfOrderID = 1
PickupDate = !PickupDate
.Update
End If
End With
on CountOfOrderID it says - "variable is not defined"
I don't have to define it. It is in the recordset and
there IS such a field name in the table rs is connected to.
What is wrong? thank you for you help.
Here is the thing:
With rs
If Not (.BOF And .EOF) Then
CountOfOrderID = CountOfOrderID + 1
.Update
Else ' there is a new insertion
.AddNew
CountOfOrderID = 1
PickupDate = !PickupDate
.Update
End If
End With
on CountOfOrderID it says - "variable is not defined"
I don't have to define it. It is in the recordset and
there IS such a field name in the table rs is connected to.
What is wrong? thank you for you help.