J
Joe Delphi
Hi,
I have a MS Access project that uses MS-SQL Server for the backend
database engine. In the project, I have a form with a listbox on it that I
want the user to use for selecting a record for editing. I am trying to
figure out how to move the data in the form to the user-selected record. I
tried this:
Me.RecordsetClone.Findfirst "[ID] = " & Me![lstbxPlans]
Me.Bookmark = Me.RecordSetClone.Bookmark
but I received an error message that said something like RecordSetClone can
only be used with the Jet Database Engine (an .mdb file) and not in other
situations. My ListBox is set up so that the bound column is the primary
key of the underlying table. I want to use the OnDoubleClick event of the
listbox. So how do I move the form to the user-selected record in an .adp
file?
Any help appreciated,
JD
I have a MS Access project that uses MS-SQL Server for the backend
database engine. In the project, I have a form with a listbox on it that I
want the user to use for selecting a record for editing. I am trying to
figure out how to move the data in the form to the user-selected record. I
tried this:
Me.RecordsetClone.Findfirst "[ID] = " & Me![lstbxPlans]
Me.Bookmark = Me.RecordSetClone.Bookmark
but I received an error message that said something like RecordSetClone can
only be used with the Jet Database Engine (an .mdb file) and not in other
situations. My ListBox is set up so that the bound column is the primary
key of the underlying table. I want to use the OnDoubleClick event of the
listbox. So how do I move the form to the user-selected record in an .adp
file?
Any help appreciated,
JD