ok, here is the SQL statment just before saving the query:
UPDATE (RDW INNER JOIN S_Zones ON (S_Zones.Prod_code = RDW.Product_Code)
AND
(RDW.[Dest Station] = S_Zones.Station)) INNER JOIN Customer_Accounts ON
(RDW.[Shipper Account] = Customer_Accounts.Account_Number) AND
(S_Zones.Bill_Cntry = Customer_Accounts.Country) SET RDW.[Dest Zone] =
[Zone_Outb];
After saving, closing and opening the query, I get the msg "...can't
represent join expression S_Zones.prod=RDW.Product_code..."
UPDATE (RDW INNER JOIN Sony_Zones ON RDW.[Dest Station] =
Sony_Zones.Station) INNER JOIN Customer_Accounts ON (Sony_Zones.Bill_Cntry
=
Customer_Accounts.Country) AND (RDW.[Shipper Account] =
Customer_Accounts.Account_Number) SET RDW.[Dest Zone] = [Zone_Outb];
Thx for your help already. I have the feeling that adding 3 tables in the
query and then linking them together creates the prob.
Nicodemus
Ken Snell (MVP) said:
Post the SQL statement of one of the queries that is giving you this
problem. Often, this results from (1) the inability to link to the tables
in
a backend file (another database file) that I mentioned earlier; or (2)
using a "non-equijoin" (which it doesn't appear you're doing), or (3) an
error in the name of a table and/or a field in a table, or (4) you
renamed a
table or field name and didn't revise the query to those new names, or
(5)
not sure why you're getting this error.
--
Ken Snell
<MS ACCESS MVP>
Hi Ken,
thx for your feeback, but I don't really understand what you mean with
"backend file"... Do you mean a table linked to a file outside the DB ?
Actually, both tables are in the DB.
Nicodemus
:
You can get this error if the tables are in a backend file and the
front
end
is not currently linked to the tables in that backend.
--
Ken Snell
<MS ACCESS MVP>
Hi all,
working in MSAccess2003 & XP.
I create joins between 2 or more tables in a query, I close and save
this
query, and when I want to open it again, I get the msg "Access can't
represent the join expression [table1].[field]=[table2].[field]".
That's weird as I know these fields and tables exist and could be
linked
without any problem in the past.
Any idea on what to do ?
Thx in advance