D
DS
I have this SQL statement that I need to convert to a DCount...
This is what I have So Far...
Me.TxtMenuCount = DCount("MenuID","MenuDetails",....?)
My SQL statement...
SELECT MenuDetails.MenuID, Menus.MenuName, MenuDetails.StartDay,
MenuDetails.StartTime, MenuDetails.EndDay, MenuDetails.EndTime,
Hour([StartTime]) AS Start,
IIf([EndDay]>[StartDay],Hour([EndTime])+12,Hour([EndTime])) AS [End]
FROM MenuDetails INNER JOIN Menus ON MenuDetails.MenuID = Menus.MenuID
WHERE (((MenuDetails.StartDay)=Weekday(Now())) AND
((Hour([StartTime]))<=Hour(Time())));
Any help apprecited,
Thanks
DS
This is what I have So Far...
Me.TxtMenuCount = DCount("MenuID","MenuDetails",....?)
My SQL statement...
SELECT MenuDetails.MenuID, Menus.MenuName, MenuDetails.StartDay,
MenuDetails.StartTime, MenuDetails.EndDay, MenuDetails.EndTime,
Hour([StartTime]) AS Start,
IIf([EndDay]>[StartDay],Hour([EndTime])+12,Hour([EndTime])) AS [End]
FROM MenuDetails INNER JOIN Menus ON MenuDetails.MenuID = Menus.MenuID
WHERE (((MenuDetails.StartDay)=Weekday(Now())) AND
((Hour([StartTime]))<=Hour(Time())));
Any help apprecited,
Thanks
DS