G
gtslabs
I have a table called Log that has many fields.
I set up a form and put the info from Log in the subform.
At the top of my main form I have 3 unbound combo boxes that I want to
filter down the data in the subform.
I was able to set the "link master fields" with Combo_Project_Filter
and the child with the field Projects from Log. And I was able to
write a SQL to show only the data remaining in the second combo box
Combo_Date_Filter. But when I select that date nothing happens. SQL
from Combo_Date_Filter is
SELECT log.Pour_Date
FROM log
WHERE (((log.Project)=[Forms]![frmMain]![Combo_Project_Filter]))
ORDER BY log.Pour_Date;
So do I need to make a union between these 2 checkboxes?
I have tried a few statements with no luck?
And then what if I filter first on the Date_Filter? How would the
Project Filter and 3rd filter Combo_Material_Filter be filtered?
I could not find any examples of how this is done. My VBA skills are
somewhat limited.
Thanks
S.
I set up a form and put the info from Log in the subform.
At the top of my main form I have 3 unbound combo boxes that I want to
filter down the data in the subform.
I was able to set the "link master fields" with Combo_Project_Filter
and the child with the field Projects from Log. And I was able to
write a SQL to show only the data remaining in the second combo box
Combo_Date_Filter. But when I select that date nothing happens. SQL
from Combo_Date_Filter is
SELECT log.Pour_Date
FROM log
WHERE (((log.Project)=[Forms]![frmMain]![Combo_Project_Filter]))
ORDER BY log.Pour_Date;
So do I need to make a union between these 2 checkboxes?
I have tried a few statements with no luck?
And then what if I filter first on the Date_Filter? How would the
Project Filter and 3rd filter Combo_Material_Filter be filtered?
I could not find any examples of how this is done. My VBA skills are
somewhat limited.
Thanks
S.