Update a field (1 Viewer)

AnnPhil

Registered User.
Local time
Today, 06:41
Joined
Dec 18, 2001
Messages
246
Is it possible to use an update query to update existing blank fields with data from another table? If not how would you do this?
I have a table that has 1000 records. I need to update one field in about 900 records. The value for the field is stored in another table, how can i get those values into the table.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 01:41
Joined
Feb 19, 2002
Messages
43,371
Create a new query. Add both tables to the QBE grid. Draw a join line between the linking field. Select the field that you want to update. Change the query type to Update. In the Update To cell, type the fully qualified name of the source column from the other table.

[OtherTable].[SomeField]

Be sure to use the square brackets.
 

AnnPhil

Registered User.
Local time
Today, 06:41
Joined
Dec 18, 2001
Messages
246
Thanks Pat, that worked great!
 

Users who are viewing this thread

Top Bottom