eme126
08-01-2006, 05:40 AM
:( It says that to get rid of a "type mismatch" error I should add the DAO.lib. But I already had it and I always got the error.
Set oSQL = "SELECT * FROM TableInfo WHERE Caption Like '" & strTarget & "'* "
The last ampersand is the type mismatch.
Set oSQL = "SELECT * FROM TableInfo WHERE Caption Like '" & strTarget & "'* "
The last ampersand is the type mismatch.