Jerry -
Thanks so much for the information - but I still can't get it to work! (I'm new at this so bear with me please...) Let me give you some more information and hopefully you can tell me where I'm going wrong. I have two tables in my database. The database name is "Contract Management" and my table names are "Data" and "Supplier Information". I also have a query, "FrmContractData" whose fields are pulled from both the "Supplier Information" and "Data" tables. I created a form named "Contract Data" to use for data entry so that no one but myself will see the underlying tables. The Record Source for the "Contract Data" form is the "FrmContractData" query. My tables are joined by a their Tax ID fields. TAX_ID is the primary key in the "Supplier Information" table. On the form "Contract Data" I have the following text boxes:
TAXID - number
SupplierName - text
Address - text
City - text
State - text
ZipCode - number
DunsNumber - number
(All of this info is in the "Supplier Information" table)
My goal is for the data entry person to be able to enter the supplier's Tax ID number in the "TAXID" control on the form. If the Tax ID number they enter matches one of the Tax ID #'s from the "Supplier Information" primary field "TAX_ID" I want the controls for Supplier Name, Address, City, State, ZipCode, and DunsNumber to populate with the data associated with that Tax ID#. However, if they enter a Tax ID# that is not currently in the "Supplier Information" table I want them to be able to enter the Supplier Name, Address, etc. on the "Contract Data" form and have the information added to the "Supplier Information" table so that next time that Tax ID gets entered the info populates on the form.
Any help or suggestions you can provide would be GREATLY appreciated. I'm a Business Analyst not a Programmer and am still getting my feet wet with this stuff - so detailed info would be wonderful. Thanks again!