Find Matched Records

  • Thread starter Thread starter JohnB
  • Start date Start date
J

JohnB

How would you do this in Access?

Two tables in 2 different files.
Table-A has a link to Table-B in the other file.

Each table contains a field labeled StockNumber. I want to read each stock
number in Table-A and then search for it in Table-B. If it's found in
Table-B, I want to update the contents of a blank field in Table-B with some
text ("found", or something).

I have not idea how to do that. Any help would be greatly appreciated.

Thanks
 
update tableb,tablea set tableb.blankfield = "found"
where tableb.stocknumber = tablea.stocknumber

should do it
 
well what are you trying to do display your query you may have spaces
in your field names or table names
 

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

Back
Top