Thanks in advance
Dave Loveridge
Have you installed any of the service packs to WP Office 2002? Avoid
service pack 4, stay with SP3 if you are using Paradox.
--
Bertil Isberg
CTECH
FAQ newsgroup: corel.wpoffice.paradox-faq
Paradox Buglist: http://w1.826.comhem.se/~u82608896/
remove spamfilter (reversed) to reply
reportPrintInfoVariable.panelOptions = reportClipToWidth
"Bertil Isberg" <bertil...@retlifmapsSCB.se> wrote in message
news:41243fbb$1_3@cnews...
"Jeff Shoaf" <jeff...@alltel.net> wrote in message
news:41252125_1@cnews...
The constant name is printClipToWidth
Then you probably got the solution from Jeff.
"Jeff Shoaf" <jeff...@alltel.net> wrote in message
news:4126641e_2@cnews...
reportPrintInfoVariable.panelOptions = PrintClipToWidth
executeQBE(Q,"Poprint.db")
printerSetOptions(prnOptions)
R.open("RFQ.RSL")
R.print("RFQ.RSL")
close(R)
"Jeff Shoaf" <jeff...@alltel.net> wrote in message
news:41461acd_1@cnews...
reportPrintInfoVariable.panelOptions = PrintClipToWidth
executeQBE(Q,"Poprint.db")
printerSetOptions(prnOptions)
R.open("RFQ.RSL")
R.print("RFQ.RSL")
close(R)
>>
Let's look at this code
1) reportPrintInfoVariable.panelOptions = PrintClipToWidth
I don't see the variable - reportPrintInfoVariable - declared and neither
can I see it used.
2) printerSetOptions(prnOptions)
I don't see any assignments to prnOptions
3) R.open("RFQ.RSL")
You open the report ignoring reportPrintInfoVariable
4) R.print("RFQ.RSL")
By supplying the filename in print(), you print a completely fresh report
which ignores reportPrintInfoVariable.
5) close(R)
May be valid syntax, but r.close() is more in line with the rest of your
code.
Help files show an example on how to use reportPrintInfo
var
stockRep Report
repInfo ReportPrintInfo
endVar
; first, set up the repInfo record
repInfo.nCopies = 2
repInfo.makeCopies = True
repInfo.name = "Stock"
stockRep.print(repInfo)
In your case, with variable names from the helpfile example, it would be
repinfo.panelOptions = PrintClipToWidth
repinfo.name="RFQ"
stockrep.print(repinfo)
--
Bertil Isberg - CTECH
Paradox buglist:
online: http://w1.826.comhem.se/~u82608896/
FAQ newsgroup: corel.wpoffice.paradox-faq
"Bertil Isberg" <bertil.isberg@NOcomhemSPAMdotse> wrote in message
news:414744b3_2@cnews...