Hi @Alois
I don't think that the formula should be an issue, I strugle to understand how do you want to trigger the patch() function. You think to patch () info into monthly report when the app is starting based on that condition ?
Or do you have something else in mind like a button ?
To see if today() is the last day of the month, you can use this condition inside the if statement:
Today() = DateAdd( DateAdd( Date(Year(Today()), Month(Today()), 1), 1, Months), -1, Days)
Hope it helps !