A
Anthony Viscomi
Everytime I run the following from a "Click Event:
Private Sub Command32_Click()
Dim intPos As Double
intPos = DMax("[Position]", "tbl_OrderB", "[ID_B] = Me.ID_C")
Me.Position = intPos + 0.1
End Sub
I receive the Run-time error '2001'
You canceled the previous operation.
What am I doing wrong? I want ID_B in the tbl_OrderB table to be = to ID_C
on the form where the event is taking place and provide me with the Max
value.
Thanks!
Anthony
Private Sub Command32_Click()
Dim intPos As Double
intPos = DMax("[Position]", "tbl_OrderB", "[ID_B] = Me.ID_C")
Me.Position = intPos + 0.1
End Sub
I receive the Run-time error '2001'
You canceled the previous operation.
What am I doing wrong? I want ID_B in the tbl_OrderB table to be = to ID_C
on the form where the event is taking place and provide me with the Max
value.
Thanks!
Anthony