Hi
I have 3 tables,
tblpersonel
IDPersonel autonumner
FirstName text
Surname text
IDDepartment number ---(many)--------------
|
tblDepartment |
IDDepartment autonumber-(one)--------------
Department text
tblProject
IDProject autonumber
projectname text
Department lookup from tbldepartment
IDPersonel lookup from tblPersonel
Ok, now I have a from called frmProject, consisting of fields of the tblProject, with 2 combo boxs
how can an entry from the Department combobox act as a criteria for the IDPersonel combobox?
e.g say there is a sales department and an IT department. How do you get the IDPersonel combo box to just show sales personel, if the department combobox has sales selected.
at the moment the rowsource for the IDpersonel is
SELECT [tblPersonel].[IDPersonel], [tblPersonel].[SurnName], [tblPersonel].[FirstName] FROM tblPersonel;
thanks for any help.
I have 3 tables,
tblpersonel
IDPersonel autonumner
FirstName text
Surname text
IDDepartment number ---(many)--------------
|
tblDepartment |
IDDepartment autonumber-(one)--------------
Department text
tblProject
IDProject autonumber
projectname text
Department lookup from tbldepartment
IDPersonel lookup from tblPersonel
Ok, now I have a from called frmProject, consisting of fields of the tblProject, with 2 combo boxs
how can an entry from the Department combobox act as a criteria for the IDPersonel combobox?
e.g say there is a sales department and an IT department. How do you get the IDPersonel combo box to just show sales personel, if the department combobox has sales selected.
at the moment the rowsource for the IDpersonel is
SELECT [tblPersonel].[IDPersonel], [tblPersonel].[SurnName], [tblPersonel].[FirstName] FROM tblPersonel;
thanks for any help.