Karen,
I was away for some time so I just got to read your question. The EEP is on entry in the QuoteID field (component Quote_Comp) then the report comes to the screen. When I close the screen version of the report after printing it, the screen comes up again even though the focus goes back to the DISTID field (component DistID_Comp). After closing the report the second time, all is ok. Am I missing something in the code below? Jim ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, April 13, 2009 9:16 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: scrolling region Is the "DistID_Comp" field the one that you have the On Entry eep on? If the eep is on entry into the field, why do you have to set the focus back to the field after you do the print? Does the focus actually leave the field when the report is printed to the screen? Karen Larry, Thanks for the help. How do I prevent a report from printing twice when using the below on entry EEP? RECALC VAR GETPROPERTY Quote_Comp TEXTVALUE vQuotePrint PRINT KayParkQuote WHERE QuoteID = .vQuotePrint CLEAR VAR vQuotePrint PROPERTY DistID_Comp SET_FOCUS 'TRUE' RETURN The EEP works and the focus ends up in the proper field after printing the quote, but the print screen comes up twice. Do I either have to add something else to this EEP or have a separate EEP on exit? Jim

