Skip to Content
0
Former Member
Oct 31, 2008 at 04:23 AM

Designer Control automaticaly opens its Preview Window

28 Views

Hey Guys

I am having a problem and hope you can help to fix it up

Here is the code i use to open a new Report Using RDC XI with VB6

Set m_Report = Nothing

Set m_Report = m_Application.NewReport

CRDesignerCtrl1.ReportObject = m_Report

The Above Statements work fine when New Report is created for the first time.

The Problem is at run time, when i create another new Report (Using Statements above mentioned) Designer Control automaticaly opens its Preview Window tab "Main Report Preview".

As I am using My own Viewrer Control, I don't want this Tab to be opened. I have searched a lot but yet to find any help

Kindly let me know what can i do TO NOT LET IT OPEN

Your Cooperation will be very much appreciated!