Hi,
Can anyone help me with this error?
I have this code: Set rs = db.OpenRecordset("Search")
where search is a parameterised query. When I try to run it I get this error: "Two few parameters, expected 2." I guess I have to put something else inside the brackets but I don't know what.
What I am trying to do is export the result of the query to word when a user clicks a command button. I have been at it all morning and made some progress but this latest error is doing my head in. Any help would be greatly appreciated!
Edit: Also 1 other question. What number do fields start at? I mean in this kind of code: Set fld = rs.Fields(?). I don't know if this second question makes sense but I can't think of any other way to ask it. Just ignore it if it doesn't!
TIA
Kirstin