Debug.Print strSQL


Is it advisable to have this code run all the time or is it only used when trying to fix an error?
I ask because there is quite a lot of accumulation of text in the immediate window and not sure if that is wasting memory.

thank you
pdvsaProject financeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dale FyeOwner, Developing Solutions LLCCommented:
I usually either remark those lines out or delete them prior to publishing an application.

You can remark them out by simply doing a search on "Debug.Print" and replace with "'Debug.Print"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NorieAnalyst Assistant Commented:
Once you've got the code right then you don't really need it.

It's not doing any harm though.

Unless you need to use the Immediate window while debugging another part of the code, then things could get confusing.

pdvsaProject financeAuthor Commented:
ahhhh.  I see.   I will do that.  I believe I will use the Find and Replace Add In for this.  

thank you
pdvsaProject financeAuthor Commented:
Thank you.  Inmorie... fyed answered just a tad bit before.... thank you though.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.