garethl
09-28-2007, 02:05 AM
i have a stored query in my database and when i run it from vb code using
DBEngine(0)(0).Execute "QRY_ImportDuplicatesTopLevel", dbFailOnError
i get the message "an error ocurred 3061 - too few paramters expected 1"
which usually means a missing or mispelled field name
however when i run this query by double clincking its icon i get no error and the query returns the appropriate data
does anyone know what may cause this divergent behaviour?
DBEngine(0)(0).Execute "QRY_ImportDuplicatesTopLevel", dbFailOnError
i get the message "an error ocurred 3061 - too few paramters expected 1"
which usually means a missing or mispelled field name
however when i run this query by double clincking its icon i get no error and the query returns the appropriate data
does anyone know what may cause this divergent behaviour?