Hi Albert
Welcome to AWF.
For info, I added code tags to your post to make it easier to read.
I was being slightly disingenuous when I responded to the original thread before.
That code will indeed unhide most tables (and I use it myself) but there are some system tables not beginning with MSys that it won't make visible.
A different approach is needed for to view those and, as a matter of policy, i won't divulge that in a public forum.
However, I never did find a way of making queries completely hidden and don't believe its possible.,
Nevertheless, I did manage to recover a badly corrupted database for a client where all the tables and queries somehow all became 'deep hidden'.
That really was a first for me