Can someone possibly help with this.
I've done a bit of looking around and I can't find something that quite matches my problem.
This is the code I'm using;
What I'm trying to do is get the Combo Box on my form to return the corrresponding record from the table. I've used exaclty the same query for some of my other forms with no problems.
The Combo Box is bound to Coloumn 1 (ID Field) in the query, and the ID field from the Table is an Autonumber, so as far as I can tell I don't need to used the ' (single quotes) as I'm not trying to bring back a string value.
The Full Error Message I'm getting it;
Run-time error '3070':
The Micrsoft Jet database engine does not recognize 'tblStolen!ID' as a valid field name or experssion.
Any help would be much appreciated.
I've done a bit of looking around and I can't find something that quite matches my problem.
This is the code I'm using;
Code:
Dim L As Recordset
Set L = Me.RecordsetClone
L.FindFirst "[tblStolen]![ID] = " & Me![Combo_Stolen_Lookup]
Me.Bookmark = L.Bookmark
What I'm trying to do is get the Combo Box on my form to return the corrresponding record from the table. I've used exaclty the same query for some of my other forms with no problems.
The Combo Box is bound to Coloumn 1 (ID Field) in the query, and the ID field from the Table is an Autonumber, so as far as I can tell I don't need to used the ' (single quotes) as I'm not trying to bring back a string value.
The Full Error Message I'm getting it;
Run-time error '3070':
The Micrsoft Jet database engine does not recognize 'tblStolen!ID' as a valid field name or experssion.
Any help would be much appreciated.