M
mattc66 via AccessMonster.com
Hi all,
I want to goto a specific record. I am assuming I'd use the DoCmd.GoToRecord.
However I don't see how I would do this.. I have the below code that is on
the Form Open function.
Private Sub Form_Open(Cancel As Integer)
Dim SID As String
SID = Me.OpenArgs
If DCount("QuoteID", "tblCreditCardOrders", SID) >= 1 Then
'DoCmd.GoToRecord......?????
Else
DoCmd.GoToRecord , , acNewRec
Me.QuoteID = Me.OpenArgs
End If
End Sub
I want to goto a specific record. I am assuming I'd use the DoCmd.GoToRecord.
However I don't see how I would do this.. I have the below code that is on
the Form Open function.
Private Sub Form_Open(Cancel As Integer)
Dim SID As String
SID = Me.OpenArgs
If DCount("QuoteID", "tblCreditCardOrders", SID) >= 1 Then
'DoCmd.GoToRecord......?????
Else
DoCmd.GoToRecord , , acNewRec
Me.QuoteID = Me.OpenArgs
End If
End Sub