Object does not support this property or method

JoseSharp

Registered User.
Local time
Today, 04:20
Joined
Oct 23, 2006
Messages
15
:confused:

Hi, I have recently transfered an MS Access d'base to SQL. Within the original MS d'base there was a list box that allowed users to select d'base entries and the details of the selection where then displayled. The code was

ynListSel = True
Dim rs As Object

With frm
Set rs = .Recordset.Clone
rs.FindFirst "ID = " & !lstRecords
.Bookmark = rs.Bookmark
!cmdNewRecord.Enabled = True
End With

Set frm = Forms!frmMain
varInvoiceRef = frm!lstRecords


Since the transfer to SQL the list box code is no longer working and I get the error:-

Object does not support this property or method

Does anyone know why???

:confused:
 

Users who are viewing this thread

Back
Top Bottom