Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display in warning

Status
Not open for further replies.

JeffreyMorrison

Programmer
Jul 25, 2002
10
CA
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!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top