Opening queries in design view when tables are not in the mdb

J

Jim Pockmire

...breaks the links between tables. Is there any way to open the query in
design view and preserve the links for diagnostic purposes?
 
D

Douglas J. Steele

You could always look at the SQL of the query.

CurrentDB.QueryDefs("NameOfQuery").SQL
 
D

Douglas J. Steele

Yes, if you're opening the query through the application, you'll run into
problems. When that happens, simply say you don't want to save the changes,
then get at the SQL as shown.
 
J

Jim Pockmire

Occasionally the form closes saving the changes without the prompting me to
"not save" the changes. What might be causing this?
 
D

Douglas J. Steele

Huh? We were talking about queries, not forms. Where did the form come in?
 
J

Jim Pockmire

Yes we are talking queries (my mistake). Sometimes upon closing a query,
MS-Access prompts to save the changes and sometimes it doesn't. This is a
problem if it automatically saves the query and there are broken links --
don't know why this is happening.
 
D

Douglas J. Steele

Sorry, I can't say I've ever noticed that happening, therefore I can't offer
any suggestions of why it might occur.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top