I have records with a date field: dDateServ  D
(I am displaying a string but the date field is a type 'date')

1. 02/15/2006
2. 03/15/2006
3. 04/15/2006
4. 05/15/2006
5. 06/15/2006
6. 07/15/2006
7. 08/15/2006
8. 09/15/2006

I want a LOCATE statement something like this:

LOCATE FOR dDateServ  <= date(2006,06,18)

I want record #5 - the max date that satisfies the for clause.





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to