B
Bob Wickham
I have a form with a query qryLoanClientForForm as its record source.
SELECT tblLoan.LoanNo, tblLoanType.LoanType, tblLender.Lender,
tblClient.Client
FROM tblLoanType INNER JOIN (tblLender INNER JOIN (tblClient INNER JOIN
tblLoan ON tblClient.ClientID = tblLoan.Client) ON tblLender.LenderID =
tblLoan.Lender) ON tblLoanType.LoanTypeID = tblLoan.LoanType;
On this form I have an unbound combo box with its Row Source
SELECT qryLoanClientForForm.LoanNo, qryLoanClientForForm.LoanType,
qryLoanClientForForm.Lender, qryLoanClientForForm.Client FROM
qryLoanClientForForm;
This allows me to enter a number (a LoanNo) in the combo box and have
the LoanNo, LoanType, Lender and Client transferred to bound text boxes
elsewhere on the form.
I want to be able to either enter a LoanNo OR a Client so that if a
Client is known but their LoanNo isn't I am still able to quickly to
find the details.
I have tried using another combo box with its row source altered so that
Client comes first. This works but having 2 combo boxes where one
isn't in sync with the other doesn't look very professional.
I have looked at examples using Search code but this seems like over-kill.
I'd be grateful for suggestions on how I could implement something
simple but elegant.
Thanks
Bob
SELECT tblLoan.LoanNo, tblLoanType.LoanType, tblLender.Lender,
tblClient.Client
FROM tblLoanType INNER JOIN (tblLender INNER JOIN (tblClient INNER JOIN
tblLoan ON tblClient.ClientID = tblLoan.Client) ON tblLender.LenderID =
tblLoan.Lender) ON tblLoanType.LoanTypeID = tblLoan.LoanType;
On this form I have an unbound combo box with its Row Source
SELECT qryLoanClientForForm.LoanNo, qryLoanClientForForm.LoanType,
qryLoanClientForForm.Lender, qryLoanClientForForm.Client FROM
qryLoanClientForForm;
This allows me to enter a number (a LoanNo) in the combo box and have
the LoanNo, LoanType, Lender and Client transferred to bound text boxes
elsewhere on the form.
I want to be able to either enter a LoanNo OR a Client so that if a
Client is known but their LoanNo isn't I am still able to quickly to
find the details.
I have tried using another combo box with its row source altered so that
Client comes first. This works but having 2 combo boxes where one
isn't in sync with the other doesn't look very professional.
I have looked at examples using Search code but this seems like over-kill.
I'd be grateful for suggestions on how I could implement something
simple but elegant.
Thanks
Bob