|
In <356DF1BE.C6D9F75C@usaor.net>, on 05/28/98 at 07:22 PM, Tim Truax <truax@usaor.net> said: >Hi All, >Question: I have a simple transaction file (physical file) I have to >process for a report, this file is sequenced by CUST# then CCYYMMDD. Now >for the summary query reporting on the CUST#, I want get the (MIN) and >the (MAX) in the CCYYMMDD field (column) so I can do the math in the >query using the 2 fields (MIN) and (MAX) in order to arrive at the number >of days we've done business with this Customer. Suggestions appreciated >on how I convert the (MIN) and the (MAX) to useable field names within >the query. Using Query? Read the sections in Help about dates. Query can subtract a date from a date and give you an answer in days. You'd me making three Result fields and two of them will be L fields. >TIA >---- >Tim Truax >RPS, Inc >1000 RPS Drive >Moon Township, PA 15108 >----------------------------------------------------------- boothm@ibm.net Booth Martin ----------------------------------------------------------- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.