update query not working

G

Guest

UPDATE [Policy Infomation] INNER JOIN [Working Table] ON ([Policy
Infomation].TypeOfHaul = [Working Table].TypeOfHaul) AND ([Policy
Infomation].TypeOfPolicy = [Working Table].TypeOfPolicy) SET [Working
Table].Carrier = [Policy Information].Carrier;


I know the fields are equal in both tables...Anyone know why this query is
not working?
 
G

Gary Walter

Leslie said:
UPDATE [Policy Infomation] INNER JOIN [Working Table] ON ([Policy
Infomation].TypeOfHaul = [Working Table].TypeOfHaul) AND ([Policy
Infomation].TypeOfPolicy = [Working Table].TypeOfPolicy) SET [Working
Table].Carrier = [Policy Information].Carrier;


I know the fields are equal in both tables...Anyone know why this query is
not working?
--
I believe the first table after UPDATE implies the table
that will be updated. You might try reversing order...

UPDATE
[Working Table]
INNER JOIN
[Policy Infomation]
ON
([Working Table].TypeOfHaul=[Policy Infomation].TypeOfHaul )
AND
([Working Table].TypeOfPolicy=[Policy Infomation].TypeOfPolicy )
SET [Working Table].Carrier = [Policy Information].Carrier;
 
G

Guest

Gary,

I tried it switched around and I still get the dialog asking me to enter
parameter value"
Policy Information.Carrier

This same query was working yesterday and I don't know what happen to cause
it stop now.
--
Leslie


Gary Walter said:
Leslie said:
UPDATE [Policy Infomation] INNER JOIN [Working Table] ON ([Policy
Infomation].TypeOfHaul = [Working Table].TypeOfHaul) AND ([Policy
Infomation].TypeOfPolicy = [Working Table].TypeOfPolicy) SET [Working
Table].Carrier = [Policy Information].Carrier;


I know the fields are equal in both tables...Anyone know why this query is
not working?
--
I believe the first table after UPDATE implies the table
that will be updated. You might try reversing order...

UPDATE
[Working Table]
INNER JOIN
[Policy Infomation]
ON
([Working Table].TypeOfHaul=[Policy Infomation].TypeOfHaul )
AND
([Working Table].TypeOfPolicy=[Policy Infomation].TypeOfPolicy )
SET [Working Table].Carrier = [Policy Information].Carrier;
 
G

Gary Walter

Open up table [Policy Information] in Design View
and find out what happened to spelling of this field
(hopefully it still exists).

Leslie said:
I tried it switched around and I still get the dialog asking me to enter
parameter value"
Policy Information.Carrier

This same query was working yesterday and I don't know what happen to
cause
it stop now.
--
Leslie


Gary Walter said:
Leslie said:
UPDATE [Policy Infomation] INNER JOIN [Working Table] ON ([Policy
Infomation].TypeOfHaul = [Working Table].TypeOfHaul) AND ([Policy
Infomation].TypeOfPolicy = [Working Table].TypeOfPolicy) SET [Working
Table].Carrier = [Policy Information].Carrier;


I know the fields are equal in both tables...Anyone know why this query
is
not working?
--
I believe the first table after UPDATE implies the table
that will be updated. You might try reversing order...

UPDATE
[Working Table]
INNER JOIN
[Policy Infomation]
ON
([Working Table].TypeOfHaul=[Policy Infomation].TypeOfHaul )
AND
([Working Table].TypeOfPolicy=[Policy Infomation].TypeOfPolicy )
SET [Working Table].Carrier = [Policy Information].Carrier;
 
G

Guest

Gary, thanks for your help. I have looked until my eyes hurt. You are
correct, Information was missing the "r". Thought I was going insane on
something so simple.

Again...thanks alot.

--
Leslie


Gary Walter said:
Open up table [Policy Information] in Design View
and find out what happened to spelling of this field
(hopefully it still exists).

Leslie said:
I tried it switched around and I still get the dialog asking me to enter
parameter value"
Policy Information.Carrier

This same query was working yesterday and I don't know what happen to
cause
it stop now.
--
Leslie


Gary Walter said:
:
UPDATE [Policy Infomation] INNER JOIN [Working Table] ON ([Policy
Infomation].TypeOfHaul = [Working Table].TypeOfHaul) AND ([Policy
Infomation].TypeOfPolicy = [Working Table].TypeOfPolicy) SET [Working
Table].Carrier = [Policy Information].Carrier;


I know the fields are equal in both tables...Anyone know why this query
is
not working?
--
I believe the first table after UPDATE implies the table
that will be updated. You might try reversing order...

UPDATE
[Working Table]
INNER JOIN
[Policy Infomation]
ON
([Working Table].TypeOfHaul=[Policy Infomation].TypeOfHaul )
AND
([Working Table].TypeOfPolicy=[Policy Infomation].TypeOfPolicy )
SET [Working Table].Carrier = [Policy Information].Carrier;
 

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