A
Alan
I have an Access 2003 database running multiple queries that was written on
XP, where it works perfect. I recently installed Office 2003 under Vista.
One of the queries no longer works. I get the error Error 3420 Object
invalid or no longer set. If I view the object dependencies, it shows the
problem query is not supported, which then points to the Name AutoCorrect
feature. I get the same error whether this is enabled or disabled. What
could be wrong? This is the query that errors:
SELECT TOP 10 qryOverall_Totals_All_Classes.Dog_Name,
qryOverall_Totals_All_Classes.Owner, qryOverall_Totals_All_Classes.Points,
((SELECT COUNT(*) FROM qryOverall_Totals_All_Classes AS T WHERE T.Class = "A"
AND T.Points > qryOverall_Totals_All_Classes.Points)+1) AS Place
FROM qryOverall_Totals_All_Classes
WHERE (((qryOverall_Totals_All_Classes.Class)="A"))
ORDER BY qryOverall_Totals_All_Classes.Class,
qryOverall_Totals_All_Classes.Points DESC;
This is the query that the problem one reads from:
SELECT DISTINCTROW qryAll_Results.Class, qryAll_Results.Dog_Name,
qryAll_Results.Owner, Sum(qryAll_Results.Points) AS Points
FROM qryAll_Results INNER JOIN qryPulls_Entered ON
qryAll_Results.ID=qryPulls_Entered.ID
WHERE qryPulls_Entered.CountOfID>3
GROUP BY qryAll_Results.Class, qryAll_Results.Dog_Name,
qryAll_Results.Owner, qryAll_Results.ID;
This one runs just fine. Essentially, this one just pulls all the data from
the database where an entrant has been in 3 or more competitions. The query
with the problem then reads from this dataset. There are no problems running
this under XP.
Any help would be appreciated.
XP, where it works perfect. I recently installed Office 2003 under Vista.
One of the queries no longer works. I get the error Error 3420 Object
invalid or no longer set. If I view the object dependencies, it shows the
problem query is not supported, which then points to the Name AutoCorrect
feature. I get the same error whether this is enabled or disabled. What
could be wrong? This is the query that errors:
SELECT TOP 10 qryOverall_Totals_All_Classes.Dog_Name,
qryOverall_Totals_All_Classes.Owner, qryOverall_Totals_All_Classes.Points,
((SELECT COUNT(*) FROM qryOverall_Totals_All_Classes AS T WHERE T.Class = "A"
AND T.Points > qryOverall_Totals_All_Classes.Points)+1) AS Place
FROM qryOverall_Totals_All_Classes
WHERE (((qryOverall_Totals_All_Classes.Class)="A"))
ORDER BY qryOverall_Totals_All_Classes.Class,
qryOverall_Totals_All_Classes.Points DESC;
This is the query that the problem one reads from:
SELECT DISTINCTROW qryAll_Results.Class, qryAll_Results.Dog_Name,
qryAll_Results.Owner, Sum(qryAll_Results.Points) AS Points
FROM qryAll_Results INNER JOIN qryPulls_Entered ON
qryAll_Results.ID=qryPulls_Entered.ID
WHERE qryPulls_Entered.CountOfID>3
GROUP BY qryAll_Results.Class, qryAll_Results.Dog_Name,
qryAll_Results.Owner, qryAll_Results.ID;
This one runs just fine. Essentially, this one just pulls all the data from
the database where an entrant has been in 3 or more competitions. The query
with the problem then reads from this dataset. There are no problems running
this under XP.
Any help would be appreciated.