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

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

flexpressmd
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?

-------
steve
Go to Bottom of Page

Waty Thierry
Forum Admin

Belgium
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 :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com
Go to Bottom of PageGo to Top of Page

Oracle
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: ppreview.net 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.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02