I am a newbie when it comes to access. My company requires that all Databases run on the company SQL back-end as a result i have a Access project that connects to the server.
I have two tables, table 1 called tblProjectDetails, table 2 called tblLearners
The fields in tblProjectDetails are
Expand|Select|Wrap|Line Numbers
- ProjectPK numeric (Its also the Primary Key)]
- Name char (50)
- Description char (50) There are other field but they dont play a role in the comboboxes
- The fields in tblLearners are
- LeanerPk numeric (Primary Key)
- Surname char (50)
- FirstName char (50)
- ProjectNo numeric
I have the following code as an after update event for cboProject
Expand|Select|Wrap|Line Numbers
- cboLearner.RowSource = "SELECT * from tblLearners WHERE ProjectNo = " & [Forms]![frmProjectMangerTracking]![subfrmlinkin]![cboProject]
subfrmlinkin - is the subform that i am using. the name is temporary until i solve my problem
When i execute the cascading combo box cboLearner is blank. Can somebody please show where i am going wrong?
Thanks in advance