The disappearing SQL

  • Thread starter Thread starter scubadiver
  • Start date Start date
S

scubadiver

I have a query that contains a subquery and when I try to open the query
after closing the form that contains the query, the SQL disappears.

Anyone come across this before?
 
hi,
I have a query that contains a subquery and when I try to open the query
after closing the form that contains the query, the SQL disappears.

Anyone come across this before?
Yup. For example

SELECT *
FROM
(subquery) Q

will be stored as

SELECT *
FROM
[subquery] AS Q

Sometimes this leads to confusion (of Access:).


mfG
--> stefan <--
 
that is useful to know.

thanks

Stefan Hoffmann said:
hi,
I have a query that contains a subquery and when I try to open the query
after closing the form that contains the query, the SQL disappears.

Anyone come across this before?
Yup. For example

SELECT *
FROM
(subquery) Q

will be stored as

SELECT *
FROM
[subquery] AS Q

Sometimes this leads to confusion (of Access:).


mfG
--> stefan <--
 
I created a query definition in VBA.

Stefan Hoffmann said:
hi,
I have a query that contains a subquery and when I try to open the query
after closing the form that contains the query, the SQL disappears.

Anyone come across this before?
Yup. For example

SELECT *
FROM
(subquery) Q

will be stored as

SELECT *
FROM
[subquery] AS Q

Sometimes this leads to confusion (of Access:).


mfG
--> stefan <--
 

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

Back
Top