P
pechoi
Hi all,
I am a new at this and not sure how to displaying matching recordset. I
got:
Function test2()
Dim loDB As Database
Dim loRSPlayer As Recordset
Dim lnIndex As Integer
Dim lnCount As Integer
Dim lsCard As String
lsCard = "K"
Set loDB = CurrentDb
Set loRSPlayer = loDB.OpenRecordset("HandGroup")
' add
With loRSPlayer
.FindFirst "Card1 = """ & lsCard & """"
End With
End Function
I am getting "Error 3251: The Operation is not supported for this type
of object". I can add rec with .AddNew and .Update. I don't know what I
am doing wrong.
What am I doing wrong?
Thx
I am a new at this and not sure how to displaying matching recordset. I
got:
Function test2()
Dim loDB As Database
Dim loRSPlayer As Recordset
Dim lnIndex As Integer
Dim lnCount As Integer
Dim lsCard As String
lsCard = "K"
Set loDB = CurrentDb
Set loRSPlayer = loDB.OpenRecordset("HandGroup")
' add
With loRSPlayer
.FindFirst "Card1 = """ & lsCard & """"
End With
End Function
I am getting "Error 3251: The Operation is not supported for this type
of object". I can add rec with .AddNew and .Update. I don't know what I
am doing wrong.
What am I doing wrong?
Thx