Hi All,
I'm trying to find a particular replication ID in a field, but I get the error message
Run time error 3251
Operation not supported for this type of object
Here is the code:
Function find_record() As Boolean
Dim db As Database
Dim rsMaster As Recordset
Set db = CurrentDb
Set rsMaster = CurrentDb.OpenRecordset("T-Promos"
' This line is where the problem occurs
rsMaster.FindFirst "[Promo_ID]={guid" _
& Forms!frmpromomaster!Promo_ID.Text & "}"
find_record = Not (rsMaster.NoMatch)
Set db = Nothing
Set rsMaster = Nothing
End Function
Any suggestions to get around this gratefully received?
I'm trying to find a particular replication ID in a field, but I get the error message
Run time error 3251
Operation not supported for this type of object
Here is the code:
Function find_record() As Boolean
Dim db As Database
Dim rsMaster As Recordset
Set db = CurrentDb
Set rsMaster = CurrentDb.OpenRecordset("T-Promos"
' This line is where the problem occurs
rsMaster.FindFirst "[Promo_ID]={guid" _
& Forms!frmpromomaster!Promo_ID.Text & "}"
find_record = Not (rsMaster.NoMatch)
Set db = Nothing
Set rsMaster = Nothing
End Function
Any suggestions to get around this gratefully received?