T
TomC
Table A has customer code and customer name fields
Table B has customer name and phone number fields
I want to read through table B, look up the customer name in table A,
if it is there, copy customer code to a customer code column in Table
B that I will create. I could use a select statement to do this but
sometimes the entire name may not match but the first 15 or 20
characters will.
by the way, I have bought lots of Access books and have yet to see
code similar to this request where you read through one table and
possibly populate another. I have programmed in Visual Foxpro and
this was fairly easy to do.
Any recommendations for advanced access/vba books will be much
appreciated.
Thanks in advance
Tom
Table B has customer name and phone number fields
I want to read through table B, look up the customer name in table A,
if it is there, copy customer code to a customer code column in Table
B that I will create. I could use a select statement to do this but
sometimes the entire name may not match but the first 15 or 20
characters will.
by the way, I have bought lots of Access books and have yet to see
code similar to this request where you read through one table and
possibly populate another. I have programmed in Visual Foxpro and
this was fairly easy to do.
Any recommendations for advanced access/vba books will be much
appreciated.
Thanks in advance
Tom