[RBASE-L] - Re: After-Printing EEP

2018-11-01 Thread A. Razzak Memon

Doug,

What you can do is enhance the menus to provide 
separate "Print to Screen" and "Print to Printer" options.


And, to protect users from printing the report 
from the Print Preview screen, disable the display of the Printer button.


PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|WINDOW_STATE MAXIMIZED +
|BTNPRINT_VISIBLE FALSE+
|PREVIEW_CAPTION 'Print Preview Without the Print Button'

Have fun!

Very Best R:egards,

Razzak
https://www.rbase.com
https://www.facebook.com/rbase


At 04:29 PM 10/31/2018, Doug Hamilton wrote:

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


--
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 rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[RBASE-L] - Re: After-Printing EEP

2018-11-01 Thread Michael Byerley

When you are printing from the window dialog, there isn't an RBase event 
occurring.


On Wednesday, October 31, 2018 at 4:30:32 PM UTC-4, Doug Hamilton wrote:
>
> 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
>
>
> 
>  Virus-free. 
> www.avast.com 
> 
>  
> <#8e307184-3216-7df9-04da-ce894ce24...@wi.rr.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
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 rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.