Bill,
Thanks for the heads-up on these system variables, I had forgotten all about them. I just tested this though and if the initial print command sends the report to the screen and the user prints from the menu, RBTI_RSTAT_DEV is set to Screen. Wanted you & Doug to know. Paul Buckley From: [email protected] <[email protected]> On Behalf Of Bill Eyring Sent: October 31, 2018 6:51 PM To: [email protected] Subject: RE: [RBASE-L] - After-Printing EEP 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]> [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] <mailto:[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] <mailto:[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.

