How to detect when there is nothing showing in a preview
Hi
I have created a custom preview form (using the std preview component) and I want to be able to detect if there is a report displayed in the preview or not. I can't spot an obvious property (other than visible which is about the preview visiblitity rather than the report).
Any thoughts?
Cheers
Shane
I have created a custom preview form (using the std preview component) and I want to be able to detect if there is a report displayed in the preview or not. I can't spot an obvious property (other than visible which is about the preview visiblitity rather than the report).
Any thoughts?
Cheers
Shane
Comments
I gave that a crack, and it AVd on me - However that was probably because the PreviewPages.Count was 0, which seems to be a good enough indicator of when there is no report, so thanks for the pointer.
Incidentally, at the same time the PreviewPages.Count = 0, the Report.PagesCount = 2 which seems odd to me. Am I missing something fundemental in how Frx works here - i.e. is PreviewPages actually where the report is drawn rather than in the report component?
Cheers
Shane