JeffreyMorrison
Programmer
I'm running a number of queries(select,append,delete,and maketable)from a macro. I turned of the warning messages by using:
Docmd.setwarnings=false
What I need to to is assign these procesed record numbers that appear in these warnings boxes to a variable.
I run my queries by using these statements:
stDocName = "Query1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
stDocName = "Query2"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Any help that can be offered will be greatly appreciated!!!!
Docmd.setwarnings=false
What I need to to is assign these procesed record numbers that appear in these warnings boxes to a variable.
I run my queries by using these statements:
stDocName = "Query1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
stDocName = "Query2"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Any help that can be offered will be greatly appreciated!!!!