Ok, I posted this last night, and it still won't work. Does anyone have any ideas??? Please help.
I have 2 cascading combo boxes that work on a form [frmSubhourstest]: cboFaculty and cboProject. They work fine with this code as the row source for cboProject:
SELECT tbProject.ProjectID, tbProject.ProjectName, tbProject.CurrentProject FROM tbProject WHERE (((tbProject.CurrentProject)=Yes) And ((tbProject.FacultyID)=Forms!frmSubhourstest!cboFaculty)) ORDER BY tbProject.ProjectName;
I now want this form to be a subform on frmPayDetails. cboProject now won't work, I get an error asking for the parameter value for Forms!frmSubhourstest!cboFaculty
I know it's now on a subform so I've tried to change the syntax:
tbProject.FacultyID=Me.cboFaculty
tbProject.FacultyID=Forms.frmPayDetails!frmSubhourstest.From!cboFaculty
and any number of combinations. It still can't find cboFaculty.
Any suggestions? Wayne, if you're out there, thanks for your help last night, I've tried various options of the FAQ you send me, but still no luck.
I have 2 cascading combo boxes that work on a form [frmSubhourstest]: cboFaculty and cboProject. They work fine with this code as the row source for cboProject:
SELECT tbProject.ProjectID, tbProject.ProjectName, tbProject.CurrentProject FROM tbProject WHERE (((tbProject.CurrentProject)=Yes) And ((tbProject.FacultyID)=Forms!frmSubhourstest!cboFaculty)) ORDER BY tbProject.ProjectName;
I now want this form to be a subform on frmPayDetails. cboProject now won't work, I get an error asking for the parameter value for Forms!frmSubhourstest!cboFaculty
I know it's now on a subform so I've tried to change the syntax:
tbProject.FacultyID=Me.cboFaculty
tbProject.FacultyID=Forms.frmPayDetails!frmSubhourstest.From!cboFaculty
and any number of combinations. It still can't find cboFaculty.
Any suggestions? Wayne, if you're out there, thanks for your help last night, I've tried various options of the FAQ you send me, but still no luck.