I am making a database for my unit and I am stuck on my gains loss reports. I've tried using the code below but, i only get results that are within 30 days but the year doesn't matter. I need the results to take in to cout the year also. for example:
right now I put in the code looking for dates of loss with in the next 30 days, my results would enclude:
29 Jan 1985
03 Feb 2007
12 Feb 2002
where all i want is to show the dates in the next 30 days: 03 Feb 2007
eventually I want to have reports that will do 30, 60, 90, 120 days till loss. but I should be able to figure it out if you help me with the 30 days.
heres the code i am working with. thanks in advance for your help.
Expand|Select|Wrap|Line Numbers
- ((([DEROS]+((Int((Now()-[DEROS])/365.25)+1)*365.25)) Between Now() And Now()+30))