D
DOMIRICAN via AccessMonster.com
I have a crosstab, when I put the normal date the information shows but when
I try to change it to a relative date, the query is empty and no values show.
HELP!!!!
PARAMETERS [forms]![PDate]![StartDate] DateTime;
TRANSFORM First(([SumOfEarned Hr]/([tpaid]-([sumofproject]+[sumofStation]+
[Brk])))) AS PP
SELECT ProductionQueryRpt.Department, ProductionQueryRpt.ProductionQueryRpt0.
Employee
FROM ProductionQueryRpt
WHERE (((ProductionQueryRpt.Active)=[Active: Enter Yes or leave blank for all]
))
GROUP BY ProductionQueryRpt.Department, ProductionQueryRpt.
ProductionQueryRpt0.Employee, ProductionQueryRpt.Active
PIVOT "D" & DateDiff("d",Forms!PDate!StartDate,[PDate]) In ("D0","D1","D2",
"D3","D4","D5","D6","D7")
WITH OWNERACCESS OPTION;
I try to change it to a relative date, the query is empty and no values show.
HELP!!!!
PARAMETERS [forms]![PDate]![StartDate] DateTime;
TRANSFORM First(([SumOfEarned Hr]/([tpaid]-([sumofproject]+[sumofStation]+
[Brk])))) AS PP
SELECT ProductionQueryRpt.Department, ProductionQueryRpt.ProductionQueryRpt0.
Employee
FROM ProductionQueryRpt
WHERE (((ProductionQueryRpt.Active)=[Active: Enter Yes or leave blank for all]
))
GROUP BY ProductionQueryRpt.Department, ProductionQueryRpt.
ProductionQueryRpt0.Employee, ProductionQueryRpt.Active
PIVOT "D" & DateDiff("d",Forms!PDate!StartDate,[PDate]) In ("D0","D1","D2",
"D3","D4","D5","D6","D7")
WITH OWNERACCESS OPTION;