
Stephen,
You wrote in an email to me...
But... that is exactly what you want to do. You do not want to capture
the BuyerName, or the SupplierName,
you want to capture the BuyerID and the SupplierID to your table.
What would you do if you had 2 buyers named John Smith? You need the
BuyerID and SupplierID to always be sure you have the correct associated
name values.
**You bound BuyerID to the combo... then why would you want the name
text saved there?
------------------
You have a miscomception as to what "bound" means.
Your form AddNewContract IS a bound form. You have your tblContracts as
the Record Source for the form,
and each of your controls is bound to a table field. Ergo... the form and
the controls are "bound."
written to the table.
---------
Since most of your NewContract fields are Required, you can not write
the record
to the table, unless all required fields have been valued.
Control values are not written to the table until a Refresh, or Requery,
or Update, occurs...
or you move to another record, or the form closes. Your Save button is
really a bit redundant, but
that is not a big issue.
You could not add another record, or close the form unless all your Required
fields have been valued.
----------------
I created a query called qryYourContractDataView that shows how the IDs
have been related to the
appropriate name "on the fly." You would use this same process in any
subsequent form, query, or report
you need.
I also removed the Lookup values in tblContracts, so you can actually
see the ID values. I have always
avoided table Lookup definitions, as they can become very confusing to
bug-shoot. That's not to say
they cannot be used. I just prefer to do it the "meat and potatoes" way.
Also, I removed the DataEntry = Yes from form AddNewContract
(should be named frmAddNewContract... for clarity only)
so that I could see the data values of my previously entered record.
-----
So... the upshot is that I did not really "fix" anything. You had the combos
set up properly, but
did not realize it...
--
hth
Al Campagna
Microsoft Access MVP 2006-2009
http://home.comcast.net/~cccsolutions/index.html
I am going to add this reply to the thread on the newsgroup, so thers can see
the resolution... to date.