I want a combo box which returns values depending on the selection in the first combo box. All of this is on one form. (any reference to form is "Doc_CreatorF") I select a value in the first combo box and in the second I want it to display everything under it.
EG. If project 1 was selected the second combo box should show all "batches" relating to project 1. (same throughout).
The reason the query needs to run again after update is because its dependant on the result from the combo box. So when the box is changed/updated the query needs to run again to pull records/values for the second combo box.
assuming the update works (I don't know how to test) the problem lies in the query. Its never returning any values.
here is the SQL
Code:
SELECT ProjectT.Job_Type, BatchT.Batch_Number
FROM SiteT INNER JOIN (ProjectT INNER JOIN (BatchT INNER JOIN JobT ON BatchT.[Batch ID] = JobT.Batch_ID) ON ProjectT.Project_ID = BatchT.Project_ID) ON SiteT.Site_ID = JobT.Site_ID
WHERE (((ProjectT.Job_Type)=[Forms]![Doc_CreatorF]![Project_Name]));
If you look at the tutorial I linked it shows the requery there. I have tried to copy the tutorial.
cheers, Andy.