apestaarten
Technical User
I try to use Dsum to sum the ours ill for a particulair location whereby the recover date or the moth still ill are valid for a month.
Here under my code :
Here under my code :
Code:
Ziekteuren = DSum("[Aantal uren ziek]", "Verzuim Query1", "[StationID] =" & StationID & " AND (Datepart('m',[Datum herstelmelding]) =" & DatePart("m", Maand) & " OR Datepart('m',[MaandNZ]) =" & DatePart("m", Maand))[\code]
I receive an error 3075.
Can someone help me?
Best recards,
Apestaarten