Hi John
I don't know where to start. I guess I have to give you a brief description
of my database. It's my first database project and I actually was able to get
a lot of headway by getting help from here (thanks guys!). Anyway, I have
two multi-select list boxes (loan type and property type) and ultimately the
user will make the selection from the two boxes, run the query and show
results on another form (that part is ok). I am trying to make
"enhancements" on my database to make it more user-friendly. These are my
tables:
1) tblLenderMaster (details about the Lender)
Lender ID (number) - primary
Lender Name
Address, etc..
2) tblLoanType (different loan types)
Loan Type ID (number) - primary
Loan Type
3) tblPropType (different property types)
Prop Type ID (number) - primary
Property Type
To cross reference:
4) tblLenderLoanType
Lender Loan ID (number) - primary
Lender ID
Loan Type ID
5) tblLenderPropType
Lender Prop ID (number) - primary
Lender ID
Prop Type ID
I created a form (frmLenders), the record source of which is
tblLenderMaster. I have already populated my database. Here are my
questions/problems:
1) I added a Add Record command button on the frmLenders. When I click the
button, only one record (the next record) is updated then when you try to
update the next record in line, the error message, "You can't go to the
specified record" appears. Then when I try to close the form this error
message appears, "Index or primary key cannot contain a null value". My
guess is that my form is populating all the other fields except for Lender ID
(since it is not an auto-number field).
2) Also, will it be possible to add combo boxes or maybe check boxes on my
frmLenders so that when another user adds a new record, he can easily update
under which Loan Type/s and Property Type/s the Lender belongs to? If ever,
will that be easy to program?
I really appreciate all your help.