Dear Forum,
I am quite agile with other ms applications but, a beginner in Access. My question is quite simple and I read a lot of solutions but none of them is working. I have a table "interests" in which I record interests from investors on some deals (I also have a table "deals" and "investors").
tbl interests is linked to tblClients and tblInvestors
I also have a query to look for interests from CLient, with the criteria like"*"+[what is the name of the deal?]+"*" and it works.But it's not user friendly. I want my user to use a cbo, because he/she doesn't know the name of all the deals (=borrower).
I would like to build a form with an unbound combo box (whose values are taken from the "deals" table), and when I select a name in that combo box I want the interests related to that particular deal.
I tried 3 solutions, none of them works:
1) I borrowed some code from another discussion:
Private Sub cboInterestByBorrowers_AfterUpdate()
DoCmd.ShowAllRecords
Me!txtBorrower.SetFocus
DoCmd.FindRecord Me!CboInterestByBorrowers
Me!CboInterestByBorrowers.Value = ""
End Sub
where cboInterestByBorrowers is my combo box
2) in my query, I put in criteria:
[Forms]![frmLookUpByBorrowers]![cboInterestByBorrowers]
3) the easiest solution I thought: I created a subform, but I cannot link it with my form. It's crazy, when I click on property I cannot link them, the property field is missing.
For reference I include my database (I changed all the names and I removed all the details).
Can someone have a look at it and explain why it doesn't work. It's driving me crazy