|
Sean, Thanks, would this be possible w/ a date range in the Select Records section? Thanks, Mike Sean Porterfield <sporter@xxxxxxxxxxxx> wrote: Mike Berman wrote: > HI I would like to run a query on a weekly basis, that lists the salespersons > orders that are on a credit hold. I would like the date range to reflect from > the start of the year until the current week, and to have this upper range > listed on the heading. Can this be done only in the Query or should there be > parameters passed. What would be the best way to pass such parameter if that > is the case? > > Thanks, > > Mike I think you can do that. In define fields, you'll do something like this: ENDDATE CURRENT(DATE) YR# YEAR(ENDDATE) 4 0 YR DIGITS(YR#) STRDATE DATE('01/01/' || YR) The STRDATE probably needs to match your job date format to work properly. Mine is MDY and displays as 01/01/04. You can then select on HELDDATE RANGE STRDATE ENDDATE -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
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.