
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