Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run time error 13

Status
Not open for further replies.

ghobbes98

Programmer
Feb 7, 2002
62
IE
I am running a module as as exe and calling it from another vb program. In one of them I am able to use the following code to set the recordset but in the exe it simply will not work and falls down at this point. It says something about a type mismatch however it works in the other program with the exact same values.

Set dbTable = dbDatabase.OpenRecordset("simul", dbOpenTable)

Anybody have any ideas.
I know it is a bit of a vague question but that might be cause I have been sitting here banging my head off the desk trying to figure it out
Thanks
G
 
yeah I have made sure that what both reference are the exact same
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top