Neat trick, Dan. Thanks for letting us know.
Albert
On 08/07/2013 8:50 AM, Dan Goldberg wrote:
Nvm, I have figured a way.
In the report I used some functions and placed them into variables. I
would get the day of the week. If the day of the week is less than 4
then subtract 5 instead of 3.
INTEGER : D : vdow = (idwk(onlinedate))
INTEGER : D : vdaysub = (iflt(.vdow,4,5,3))
DATE : D : vreqdate = (onlinedate - .vdaysub)
Dan Goldberg
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================