Hi Everyone,
In a report i have date variable StartDtApr and EndDtApr it will filer the data for the month of April, Same way for the all next month.
I want to set the date by default for StartDtApr := 01042020d EndDtApr := 30042020D i have set it hard coded,
i don’t want it hard coded.
Since you did not ask a question, I can only assume that you like to know how to calculate these certain dates. Try:
startDate := CALCDATE('<-CM>',someDate);
endDate := CALCDATE('<CM>',someDate);
In short i want the starting and ending date of every month
admin1
October 29, 2020, 7:06am
4
Dear Mr. Erik,
i had searched earlier but this is not what i actually needed. let me explain in detail what i want,
i have 12 variables monthwise
StartDateApr::
EndDateApr:=
StartDateMay:=
EndDateMay:=
StartDateJune:=
EndDateJune:=
StartDateJuly:=
EndDateJuly:=
StartDateAug:=
EndDateAug:=
StartDateSep:=
EndDateSep:=
For each month i want starting and ending date, i cannot use current month function to set the start and end date bcoz i will run the report every month
Time being i have written hardcoded
StartDateApr:=010420D;
EndDateApr:=300420D;
StartDateMay:=010520D;
EndDateMay:=310520D;
StartDateJune:=010620D;
EndDateJune:=300620D;
StartDateJuly:=010720D;
EndDateJuly:=310720D;
StartDateAug:=010820D;
EndDateAug:=310820D;
StartDateSep:=010920D;
EndDateSep:=300920D;
StartDateOct:=011020D;
admin1
November 3, 2020, 10:33pm
7
Why can’t you use that function? Use variables.
In my report im showing the container details data in which it show for the current month container details and in total is count no of containers
But along with this i want total no of container for all the previous month.