robmason10
Technical User
Compiling a time/cost report which I need to relate to a financial year whicg runs 01-Oct to 30-Sept. I would like to return a sum of {LedgerEntries} based on currentdate.
i.e.
If currentdate is between 01-oct-2002 and 30-sep-2003 then select from tblLedger where {ledgerEntryDate} is between 01-oct-2002 and 30-sep-2003
Seems obvious on screen but can't get my head around it. Any suggestions?
i.e.
If currentdate is between 01-oct-2002 and 30-sep-2003 then select from tblLedger where {ledgerEntryDate} is between 01-oct-2002 and 30-sep-2003
Seems obvious on screen but can't get my head around it. Any suggestions?