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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't set the papersize and the paperorientation

Status
Not open for further replies.

hugomt

Programmer
Feb 15, 2002
3
MX
crxApplication=server.CreateObject "crystal.crpe.application")
set crxapplication.openreport("c:\hugomt\rpt\cve88.rpt")
crxreport.selectprinter "ADOBEPS4", "Acrobatdistiller", "c:\inetpub\set PageOptions= crxreport.PageSetup
pageoptions.papersize=5 <<<<<<---- here ERROR line 59
pageoptions.paperorientation=1 <<<<<<---- here ERROR
set crtable=crxreport.database.tables.item(1)
crtable.setlogoninfo &quot;docentes&quot;,&quot;docentes&quot;,&quot;XXXXX&quot;,&quot;XXXX&quot;
crxreport.progressdialogenabled=false
crxreport.discardsaveddata
crxreport.printout false,1,true,1
set crxreport=nothing
set crxapplication=nothing

I'M USE WINDOWS 2000, CRYSTAL 8.5, IIS 5

and the page return the next error


Error Type:
(0x80010105)
The server threw an exception.
/intranetNomina/rptDirecto.asp, line 59 (papersize)

HELP ME!!!

ah!!! if i'm cut the lines 59 and 60 all thats good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top