Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Report

Status
Not open for further replies.

sflau

Programmer
Oct 18, 2001
87
HK
I am using VB 6, just created a datareport and want to have a preview, and I use,

drtemp.Show

Then, error message prompted "Can't show non-modal form when modal form is displayed".

If I change the dtremp as MDIForm = TRUE, then
another error message prompted "No MDI Form available to load".

Please help.
 
Set drtemp back to the way it was with MDIForm = False and try:

drtemp.Show vbModal


Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top