Re: 4gl report output options - email
Posted in 1996
> We have a number of 4gl report prgs which request the user's choice of > output: screen, printer, and some offer email. > > The problem is that the email option sends the same lovely formatted > version that would be printed, with spacing, titles, etc. What we > often prefer is to just dump the output (unload style, .csv) to a > file, and then mail that file so the user can do whatever with another > tool. > > How does one best accomplish this? How about: MENU "Report To" COMMAND "Screen" START REPORT x EXIT MENU COMMAND "Printer" START REPORT x TO PRINTER EXIT MENU COMMAND "Mail" START REPORT xyxy TO PIPE "mail fred" EXIT MENU END MENU -- Ciao, Billy +------------------------------------------------------------------------------+ | I used to be indecisive, but now I'm not so sure... | +------------------------------------------------------------------------------+