Question : Access Error 3125  Not able to open query in Design Mode

Hello,
   My company is migrating to Access 2007 from 2003.  The only bug we can not resolve is '' is not a vaild name.  I issue was found when running a macro.  Macros open objects up in design view to run.  When running a query, no problems.  I can review a query in SQL once it has run.  I am not able to open the query up in design mode once it is created.  I even looked for " ' " and excessive characters in table names or field names.    Here is a sample of the SQL.


SELECT [Tbl_CorpDef].[system definition], Left([Po No],2) AS DivNo, [tbl_cumm_test].[Inv No], [tbl_cumm_test].[Gross Amt] AS Gross, [tbl_cumm_test].[Acct Date] AS [Pay Date], [tbl_cumm_test].[Type Sale]
FROM tbl_cumm_test INNER JOIN Tbl_CorpDef ON [tbl_cumm_test].[Corp Code] = [Tbl_CorpDef].[corp code]
WHERE ((([tbl_cumm_test].[Acct Date]) Between [enter beg date] And [enter end date]) AND (([tbl_cumm_test].[Type Sale]) In ("sw","mw","uw","pw")))
ORDER BY [Tbl_CorpDef].[system definition], Left([Po No],2);

The original query has linked tables but for this purpose I did a maketable and it still did not work.

Any help will be appreciated.
JMAN

Answer : Access Error 3125  Not able to open query in Design Mode

One out of 400 linked tables used a " ' " reference.  I have run a hudrend of other queries.  The problem never arose.  I have updated the link and now my query works.  The reference updated was not even being used or referenced int he select query.

JMan  out
Random Solutions  
 
programming4us programming4us