RE: Error in 2007 but not in 2003 - suggestions please
- From: Sab64 <Sab64@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Apr 2009 11:40:04 -0700
Ron2006,
i had the same problem when i upgraded from 2003 to 2007 using SQL Server
2000 as a backend db. on the forms that i was getting an error on (record
not found in this query) i had to create and save the forms query in the
query section (i used a SQL statement in the record source originally, then
changed it to the query name), that seemed to fix the problem.
"Ron2006" wrote:
Here is the scenario..
An application runs just fine in 2003 but I am getting two different
types of errors in the when trying to do things in the same mdb in
2007.
Error 1:
- multiple tabs on a form
- each tab has independent subforms and query
- The subform record source is empty until the tab is touched at which
time it is loaded IF the source was empty (meaing the tab had NOT been
touched before)
- If I touch tab 1 - source is loaded - query executes correctly -
records appear
- then if I touch any other tab I get an error message indicating that
the query cannot find tablename.fieldname asking for a value.
- If I don't cancel it, the query executes but I get this message
twice.
- If I then touch tab 1 again, the same combination of errormessages
now appear.
- This occurs no matter which tab is the first tab touched and no
matter which tab is the second one touched.
- THE FIELD THAT IS REFERENCED IS NOT IN ANY OF THE QUERIES INVOLVED
IN ANY OF THE SUBFORMS.
Related Error 2:
- If I enter the DB in design mode and go to any of the queries
involved in these tabs the following happens:
- If I execute the query, it runs properly.
- If I then right click and ask for SQL view of this query, I can see
it.
- If I however right click it and ask for the design view I get the
following error message:
'' is not a valid name. Make sure that it does not include invalid
characters or punctuation and
that it is not too long.
- After I press the OK button, the message disappears BUT the the
design view for the query DOES NOT appear.
I have updated Office 2007 to include all of the latest updates.
The same mdb operates properly with no errors at all when executed
under Access 2003.
Ron
- Follow-Ups:
- Re: Error in 2007 but not in 2003 - suggestions please
- From: Ron2006
- Re: Error in 2007 but not in 2003 - suggestions please
- From: Ron2006
- Re: Error in 2007 but not in 2003 - suggestions please
- References:
- Error in 2007 but not in 2003 - suggestions please
- From: Ron2006
- Error in 2007 but not in 2003 - suggestions please
- Prev by Date: Re: Function Inside an "IN" Operator
- Next by Date: Re: iif statement help
- Previous by thread: Error in 2007 but not in 2003 - suggestions please
- Next by thread: Re: Error in 2007 but not in 2003 - suggestions please
- Index(es):
Relevant Pages
|