I need to implement a new criterion in the following DSum, it now has to only sum the values for records that have a DataDecorrenza (that's a date field) not older than last month from Now().
I.e.: today's may 24, dsum must only consider records dated april 1st and older.
As it turns June, only records dated may 1st or older will be considered.
How should I change this?
I.e.: today's may 24, dsum must only consider records dated april 1st and older.
As it turns June, only records dated may 1st or older will be considered.
How should I change this?
Code:
MyAvailable = Nz(DSum("ValoreRicetta", "Clienti_Ricette", _
"IDCliente= " & cboRicetteEsistenti.Column(0)), 0)