Help with Query?

Lstclair55

New member
Local time
Today, 21:28
Joined
Jun 15, 2005
Messages
5
Hi,

I have two tables:

tblProperty and tblValuations

I want to compare the PropNumr and Streetname fields in tbl Property to the the equivalent fields in tblValuations. If there is a match, I want to transport / copy across the ValuerID field in tblValuations to tblProperty.

Any ideas?
 
tblProperty and tblValuations

I want to compare the PropNumr and Streetname fields in tbl Property to the the equivalent fields in tblValuations. If there is a match, I want to transport / copy across the ValuerID field in tblValuations to tblProperty.

Any ideas?
Maybe this would work...
Code:
UPDATE [tbl Property], [tblValuations] SET
[tblValuations].[ValuerID]=[tbl Property].[ValuerID]
WHERE ([tbl Property].[PropNumr])=[tblValuations].[PropNumr]) 
AND ([tbl Property].[Streetname]=[tblValuations].[Streetname]);

This is assuming both of your tables involved carry the same field names....if they don't, just change them where needed.
 

Users who are viewing this thread

Back
Top Bottom