suggest that you use if statement first like
Me.txtZoneID =iif(DLookup("ZoneID", "tblZipCode", "ZipCode = '" & [ServiceZip] & "'") is null,"enter some value",dlookup("ZoneID", "tblZipCode", "ZipCode = '" &...
HI
I have to run the report 180 times with each branch getting only their required information.
I will test the docmd lines.
Thanks for the advice.
Bernard
Hi
I have some 100,000 data lines that need to be sent to approx 180 branches around Australia on a weekly basis. I have developed the queries and created a suitable report. However, I was wondering how I might develop coding that could run this report 180 times and for each time email the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.