Ok I thought this was going to be simple but I must be missing something.
I have a continuous form that has multiple tabs in the form footer.
Anyhow I have a combo box on one of the tabs that is working with the following query.
Basically I set the Criteria of the SiteID field to: [Forms].[frmSitesOverview].[SiteID]
But it’s not able to see that field for some reason so I keep getting that popup asking for me to enter the value.
The query works if I had type the siteID but I have no idea why its not finding it on its own...
I have a continuous form that has multiple tabs in the form footer.
Anyhow I have a combo box on one of the tabs that is working with the following query.
Code:
SELECT tblSiteStaff.SiteStaffID, tblSiteStaff.FirstName, tblSiteStaff.LastName, tblSite.SiteStaff.Value, tblSite.SiteID
FROM tblSite LEFT JOIN tblSiteStaff ON tblSite.SiteStaff.Value = tblSiteStaff.SiteStaffID
WHERE (((tblSite.SiteID)=[Forms].[frmSitesOverview].[SiteID]))
ORDER BY tblSiteStaff.LastName;
Basically I set the Criteria of the SiteID field to: [Forms].[frmSitesOverview].[SiteID]
But it’s not able to see that field for some reason so I keep getting that popup asking for me to enter the value.
The query works if I had type the siteID but I have no idea why its not finding it on its own...