Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show Last Event Date Formula

Status
Not open for further replies.

gstory

MIS
Dec 13, 2002
5
0
0
US
Trying to work on a formula to show the last scheduled event with its result date nearest today's date.

If my database has the following entries for case C-SV-00011:

Case ID Caption Scheduled Event Result Date
C-SV-00011 Paul Vs Smith 44409 11/05/2002
C-SV-00011 Paul Vs Smith 44410 11/09/2002
C-SV-00011 Paul Vs Smith 21412 11/25/2002
C-SV-00011 Paul Vs Smith 57291 12/06/2002

Then I need the report to show me the below line as it’s the newest result date to today’s date in the database.
C-SV-00011 Paul Vs Smith 57291 12/06/2002

Anyone have any ideas?
 
Do you want the LAST date, or the date nearest to today's date? In your sample data those are the same dates, but given another set of sample data that is not neccesarilty the same date.

If you want the last date, SVs solutin should work nicely. If not post again and we will come up wth a solution. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Dgillz,

Yes I need it to give me the event nearest to today's date and hide all the rest of the data lines.

Thanks Again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top