Is there a VP Parameter Function?

A

AndrewB

Hi Damian,

When I run this function I get an error saying "This action requires an
Object Name Argument". Is it ignoring the "acQuery" ?
 
S

Seth Schwarm

AndrewB:

I am not 100% sure of your question, but I do see a problem with the
Subprocedure, if you are using that method as your solution.

Should read:
DoCmd.DeleteObject acQuery, strName (not strQuery)

Seth Schwarm
 
Top