Thanks for the reply. I know about the restriction on dir type files. To get around that, I re-created the _hold_ file as a regular file, but the spooler did not like that at all.
The customer report was really just an example. We have several reports that get emailed. Accounting likes to convert their reports to pdf format and mail them to our parent company, etc, etc. So rather than do each report one by one, I was hoping I could put a front end on the _hold_ file and prompt the user for the format they wanted (html, text, pdf, etc) and the email addresses they wanted. -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 6:29 PM To: [EMAIL PROTECTED] Subject: RE: [U2] [ud] Trigger on _hold_ file Charlie Rubeor wrote: > Is it possible to establish a trigger on the _hold_ file? Not if it's a DIR-type "file". See 4-6 of "Developing UniBasic Applications". > We currently email reports from the > _hold_ file to various people, including customers, whose email addresses > are stored in the customer file. So if someone wants to send the report to a > different email address, they have to change the email address in the > customer file, go run the report, then remember to change the record back. What causes them to want to email it somewhere other than the customer? Can you change the program that sends the email to accept an override one-time-only address? Or put in some sort of debug/test switch that would cause a copy of the email to go to a different address? What about adding a field to the customer record "alternate email" and if that is present, it gets used instead of the real email field? At least then you don't lose data. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
