S
SAC
I'd like to set a value of a control to this sql statement:
SELECT Max(tblShows.AssociationRevenue) AS MaxOfAssociationRevenue
FROM tblShows
WHERE (((tblShows.ShowDay1)<[Forms]![frmBookingShows]![txtShowDay1]))
GROUP BY tblShows.Dept, tblShows.AssociationLookup
HAVING (((tblShows.Dept)=[Forms]![frmBookingShows]![txtDept]) AND
((tblShows.AssociationLookup)=[Forms]![frmBookingShows]![cboAssociationLookup]));
It returns one value and I'd like to control to show this value.
Not sure what to do with it.
Thanks.
SELECT Max(tblShows.AssociationRevenue) AS MaxOfAssociationRevenue
FROM tblShows
WHERE (((tblShows.ShowDay1)<[Forms]![frmBookingShows]![txtShowDay1]))
GROUP BY tblShows.Dept, tblShows.AssociationLookup
HAVING (((tblShows.Dept)=[Forms]![frmBookingShows]![txtDept]) AND
((tblShows.AssociationLookup)=[Forms]![frmBookingShows]![cboAssociationLookup]));
It returns one value and I'd like to control to show this value.
Not sure what to do with it.
Thanks.