Hello!
I am trying to configure something similar to DateOnChange() in a report with MainDataCompositionSchema. The problem is that if a user selects EndOfPeriod, the programm takes a date with the time 00:00:00. Therefore the user has to change ist manually to 23:59:59, otherwise the data are wrong (it does not consider documents created e.g. at 12:15:13).
Query is
| Code |
|---|
WHERE SalesTabak.Period >= &BeginOfPeriod AND SalesTabak.Period <= &EndOfPeriod |
In another report with the code in modul it works fine:
| Code |
|---|
&AtClient Procedure EndDateOnChange(Item) EndDate = EndOfDay(EndDate); EndProcedure |
but I could not manage to configure the report with MainDataCompositionSchema in order to get the same result.
Where can I change these settings?
Thank you in advance for your reply!
Desktop version