Popup mode and toolbars

Summerwind

Registered User.
Local time
Yesterday, 22:16
Joined
Aug 25, 2005
Messages
91
I have spent many hours experitmenting and searching without result so maybe someone here can help me.

I like to have my reports appear to users before they print them. I hide the main form of the app and have the report appear on the screen maximised. I also have a customised toolbar to enable either close the report or to print and close.

The problem is that the close button appears in the usual top right hand corner of the report screen and a user clicking on this throws an exception. I can hide the top bar of the screen by making the report appear in popup mode but then my toolbar doesn't appear.

Any suggestions anyone please?
 
I'm sure trying to open a report with no data returns error 2501, I've not heard of one that generates an error simply for not printing the report. Which close button are you referring to?
 
Seems like I didn't explain myself too well. There is nothing wrong with the report as I've trapped all errors before opening it in Preview mode. What I'm trying to achieve is to not have the blue line across the top of the screen (Whatever that is called???) with the little X to close the report. Clicking on this throws an exception.

I can achieve the appearance I want by having the report appear in pop-up mode, but then my toolbar doesn't show!
 
If you go into the reports properties, you can disable to Close button by setting Close to No (or is it Off - can't remember). The Close button is then greyed out.

Regards
Alan
 
Hi Alan

Thanks for that but I'm afraid that it doesn't work. The control box and the close button are still there and working, despite my setting them both to off and to no border in report properties
 
if you open a report from a form, and THEN

if you use the onnodata setting in a report to cancel the report,

this will raise an error 2501/2051 (i forget) which in the calling form, which normally needs to be trapped and ignored.

-----------------------------
if you are getting an error, what error is it? it ought to be trappable somewhere
 
Last edited:

Users who are viewing this thread

Back
Top Bottom