I have an Access 2000 database with a query where the table is not visable in design view. The query works but I would really like to get the table back. If I add the table access appends a 1 (table_1) to the name and the query doesn't work.
Cool! How did you do that? I could use that trick on my peers. I've been trying to duplicate your problem, but I can't. When in design view, click on the dropdown arrow next to the View button and go into SQL view. Do you see the table name after the word FROM?
What happens if you re-create the query. Go into the original query in SQL view, copy the SQL and paste it into a new query. Is the table still hidden in the new query?
That worked! The only downside was I had to format a calculated field.
This could have been solved by simply rebuilding the query, in this case a very simple one, but this is not the first database this has happened in and it could happen in a complicated query. I never considered copying the sql, and am glad to know that trick. Thanks!
Also thanks to fneily and BattleDroid42 for your interest.
If the table doesn't exist in the table's window, chances are it's hidden.
- Go to tools - options and check hidden objects.
- Then go to your tables. The tables that were hidden will be dimmed. right click on the dimmed table, choose properties and uncheck hidden.
I'm glad you had your problem solved. BUT - no one explained how the table in query design got hidden, disappeared, whatever? I know we live, but WHY??? Too deep.
It's really hard to know without seeing the database. It can be so many things (security settings, corruption, ect.). If you want to send me a copy of the db to gosmart@charter.net with the table data cleared out, I will be happy to look at it for you.
After viewing willybgw's database, it was discovered the database had permissions set on it. The query that was not displaying the table had Admin permissions set on it.
What's the reason you want to hide the tables in query design? If the table is hidden, it doesn't stop the user form viewing or changing the query. They can still see all the table fields by using the field drop down in the query. Do you not want users to be able to view or change the queries in design mode? If so, I can offer you some solutions?
Since I never came across this before, I wanted to know what caused it because it may come up again one day when you and Tek-Tips aren't available.
Also, I can use it on my students. Let them get practice in trouble shooting - a necessary evil if you're going to develop in Access.
Plus I worked at AT&T when it was the biggest corporation in the World -2 million employees up to 1990. Sometimes you have to work with people you don't like and this would be a nice way to aggravate them.
Mr. HumbleProgrammer
Which gave you better satisfaction - solving the hard problems or the easy ones? That's the problem with kids these days, they're spoiled. Sweating's good for you anyway.
By the way, nice job.
Mr. JudgeHopkins
Thanks for the star, but wait 'til I get the answer. I'm almost there.
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.