I want to hide/protect my query because I don't want users to be able to modify the design view.
So I found this code online:
I don't know if this works and I don't know where to put it to make it work ><Code:dim db as database, qd as querydef set db = currentdb() for each qd in db.querydefs msgbox qd.name next set db = nothing
Also if you have an alternative solution, I am all ears!
Thanks in advanced!