Group:  Microsoft Access ยป microsoft.public.access.gettingstarted
Thread: ComboBox Issue

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

ComboBox Issue
Misha 17.07.2006 17:34:01
Hello All,

I am extremely new to access. I have set up two tables that I need with the
information in them and I set up a relationship that allows me to link
invoices with the corresponding contract/vendor number. What I have been
trying to do is have a combo box show all possible contract/vendor numbers
for the user to choose and then enter in all the information about invoice
that corresponds to that contract. However, in the way I set it up the combo
box does not show the list of all contracts in the database and requires the
user to type it in and then correctly saves it in the proper place; when I
modify the combo box to show the information it will not save the invoice
data into the location that i need which it did prior to me modifying the
combobox. Then if i change the combobox so that it saves the data into the
appropriate field I get the error "You cannot add or change a record becausea
related record is required in table "frmContract"

Schematic:

tblContracts: Contract #, Contract ID, Vendor Name
tblInvoices:Invoice ID,Invoice Amount, contract #

Any suggestions would be greately appreciated


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net