How to determine report mode (design or preview)? 
Author Message
 How to determine report mode (design or preview)?

The IsLoaded function for forms tests whether a form is open and if so
whether it's in design mode or not.

I have duplicated the function to look for an open report but I can't find a
way to determine if it is open in design mode or not.

Can somebody help with this please?

--

Mike Ingraham



Mon, 21 Jan 2002 03:00:00 GMT  
 How to determine report mode (design or preview)?
Mike,

You could try to do something to the report that is only possible in
design mode, for example, use CreateControl, and see if that raises an
error. It's definitely a kludge and I'm sure that there's a better way,
but can't think of one right now. FWIW

Quote:

> The IsLoaded function for forms tests whether a form is open and if so
> whether it's in design mode or not.

> I have duplicated the function to look for an open report but I can't find a
> way to determine if it is open in design mode or not.

> Can somebody help with this please?

> --

> Mike Ingraham




Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Determine whether running in design mode or not

2. ?: Want to determine whether program runs in design mode or not

3. Determining Run-Time/Design-Time mode

4. Determine if in Design Mode

5. change the column width in Crystal Report in preview mode

6. How to open a report in Preview mode.

7. Finding out if a report is in Design view or Print preview

8. launching a report in design time mode

9. Browser Control: Design Mode vs Compiled Mode

10. change from running mode to design mode

11. Please Help......Design mode Vs. Run mode detection

12. Browser Control: Design Mode vs Compiled Mode

 

 
Powered by phpBB® Forum Software