Hi
I am using Access 2003.
I have an unbound form named frmRuralBeds. On it there are 2 combo boxes: fiscal year and Unit.
There is also a subform (sfrmRuralBeds) based on the query qryRuralBeds and is in dataview. The query is based on tblRuralBeds and is different from the table only because it has the fiscal year column based on month. Other data elements include Site, FirstofMonth, number of beds. So each year there will be 12 entries per Site (one for each month). I only have the data elements of month and # of beds visible in the subform.
The query (and therefore the subform) is filtered by the two combo boxes on the MainForm and is working well. However, when I add a new month, it updates the table but it doesn't show a Site Name. How can I get the Site selected in the combo box of the main form into the query itself without typing it in the subform?
Thanks.
I am using Access 2003.
I have an unbound form named frmRuralBeds. On it there are 2 combo boxes: fiscal year and Unit.
There is also a subform (sfrmRuralBeds) based on the query qryRuralBeds and is in dataview. The query is based on tblRuralBeds and is different from the table only because it has the fiscal year column based on month. Other data elements include Site, FirstofMonth, number of beds. So each year there will be 12 entries per Site (one for each month). I only have the data elements of month and # of beds visible in the subform.
The query (and therefore the subform) is filtered by the two combo boxes on the MainForm and is working well. However, when I add a new month, it updates the table but it doesn't show a Site Name. How can I get the Site selected in the combo box of the main form into the query itself without typing it in the subform?
Thanks.