Re: [RBASE-L] - Calculating Age in Years, Months

2023-11-10 Thread Bruce Chitiea
Charles: Played with it a bit, searching for elegance. The only fully duplicated segment 'DOD - DOB' is wrapped on all sides by unique function strings, so atomization likely creates more work than it's worth. So, ugly it may be; but if it works ... Alternately, from the list in 2016: CLEAR V

RE: [RBASE-L] - email novice problems

2023-11-10 Thread 'Jim Belisle' via RBASE-L
Jim, Try adding a line for the attachment. You may want to set the attachment as a variable with the complete location. Example: Set var vfilename TEXT = 'complete location&Invoice_1031.PDF' |EMAIL_ATTACHMENTS &vfilename Try something like this and see what happens. Jim From: 'jim schmitt' via

[RBASE-L] - email novice problems

2023-11-10 Thread 'jim schmitt' via RBASE-L
Greeting fellow R:base users: You may be able to offer some blues clues for me.This is my first attempt at trying to send a report via email: Using RB Version X5E  10.5.4 20646 Tried using Razzak's sample in RRBYW20 - code listed below: PRINT Invoice WHERE TransID = 1031 +OPTION PDF|FILENAME Invo

[RBASE-L] - Calculating Age in Years, Months

2023-11-10 Thread Charles Stevens
Hello All - I am wondering if there is a more elegant way to find the difference between two days expressed as Years, Months, than what I have been using, below, which produces the results nny nnM, but seems clumsy: *(CTXT(INT((DOD - DOB)/365.25))+'Y')&(CTXT(INT(MOD(DOD - DOB,365.25)/30.44))+'M'