Doug
When you print a report to the printer the following variables are set; RBTI_REPORT_NAME_X = Trailer TEXT RBTI_REPORT_NAME = Trailer TEXT RBTI_RSTAT_DEV = PRINTER TEXT RBTI_RSTAT_TIME = 0 INTEGER RBTI_RSTAT_PAGES = 1 INTEGER If the report was printed to the screen then RBTI_RSTAT_DEV would be SCREEN, so all you have to do is capture the variable to do your thing. Bill Eyring From: [email protected] [mailto:[email protected]] On Behalf Of Doug Hamilton Sent: Wednesday, October 31, 2018 4:30 PM To: R:Base List Subject: [RBASE-L] - After-Printing EEP Hi All - I have a one-page worksheet report that I want to have update a datetime column after it is printed. If user just looks at it and closes, without printing, no update. An UPDATE command in both After Generate and AfterPreview EEPs runs after the report is displayed, regardless of whether it is printed or not, so (I don't think) those EEPs aren't going to work. I could put the UPDATE after the PRINT command, but that runs whether they print or just view. I could add a dialog could ask the question, but I'd like the update to be transparent to the user. Ideas? Is there an R:Base system variable that indicates print status? TIA, Doug <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> www.avast.com -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

