I have a function that executes three queries. When I try to execute the queries I receive:
"Run-time error '3276': Invalid database object reference."
Below is my code. I have checked my tables, they are all fine. I haven't run into this error before and don't really know where to start. Thanks in advance.
Code:Dim vQueryName As String DoCmd.SetWarnings False vQueryName = "qryAppend_HIST" DoCmd.OpenQuery vQueryName, acViewNormal