Print Preview ActiveX Active Users: 65 / Visits Today: 1194
Highest Active Users: 660
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Problem Printing MSFlexGrid
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic: Two bugs with DBGrid Topic Next Topic: website  

Starting Member

United Kingdom
2 Posts

Posted - 06/16/2006 :  13:44:02  Show Profile  Reply with Quote
When trying to use the code .GridReport MSFlexgrid1, prASPage to print an MSFlexgrid, an error occurs:

"runtime error '-2147217887 (80040e21) Print Preview Error in GridPreview Multiple-step operation generated errors. Check each status value."

prASPage = 2 at the time of the error Iit doesn't occur on short reports) and the error is repeated despite what data is loaded into the grid.

Any suggestions?

Go to Bottom of Page

Waty Thierry
Forum Admin

635 Posts

Posted - 07/05/2006 :  13:05:07  Show Profile  Visit Waty Thierry's Homepage  Reply with Quote
How many columns & rows are present?
Could you send me a small sample with the MSFlexGrid with all the columns & rows you have?
It is easier to debug so

Come and visit :
Go to Bottom of PageGo to Top of Page

Starting Member

United Kingdom
4 Posts

Posted - 10/23/2006 :  12:42:03  Show Profile  Reply with Quote
If I use the following code

Dim oPrint As New Preview
oPrint.GridReport FlexGrid, prASPage
oPrint.EndDocument prOTScreen

I get Run time error 91 Print Preview error in Grid preview object variably or with block not set.

Please help
Go to Bottom of PageGo to Top of Page
  Previous Topic: Two bugs with DBGrid Topic Next Topic: website  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02