0

i got a type mismatch run time error 13 in the following line of the load event of my form... pls help me

set rs=db.OpenRecordset("SELECT * FROM STOCK")
4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by AndreRet
0

Can you please share some more of your code, as db and rs definition?
Type of database..
Did you clearly define recordset as ADODB.recordset or DAO.recordset...?
If in preferences is DAO in priority of ADO db type then you could receive this type of error.

Edited by monarchmk: n/a

1

i gave my table name wrong and so got this error.

Votes + Comments
For solving your own problem.:)
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.