sintax error in FROM clause. And then what???

G

Guest

Hello,
I got trouble.
I have a query that has always worked fine, and it still do!!. I need to
make few changes to it but can't open it!!! When I try to switch in design
view it says "Sintax error in FRON clause" and wont let me see the SQL sintax.
It is a fairly complex query and I'm thinking that the trouble could be the
*odd* changes Acces does by itself under some circumstance (i.e. replacing
(SELECT with [SELECT and so on...).
How can I overcome this thing?
I don't want to think I have to re-write from scratch...

Thanks,
Rocco
 
K

kingston via AccessMonster.com

Have you attempted to import this query into another database? This might
strip any odd corruption from the object. Otherwise, try the usual Compact &
Repair, decompile, or a backup file.
Hello,
I got trouble.
I have a query that has always worked fine, and it still do!!. I need to
make few changes to it but can't open it!!! When I try to switch in design
view it says "Sintax error in FRON clause" and wont let me see the SQL sintax.
It is a fairly complex query and I'm thinking that the trouble could be the
*odd* changes Acces does by itself under some circumstance (i.e. replacing
(SELECT with [SELECT and so on...).
How can I overcome this thing?
I don't want to think I have to re-write from scratch...

Thanks,
Rocco
 
G

Guest

You can always use this

?Application.CurrentDb.QueryDefs("QueryName").SQL

In the Immidiate window to get the sql of the query
 

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