Hi,

i am using visual foxpro 9 ith crystal report 11 R2.

to open report i use ;
crxreport = crxapplication.openreport("test.rpt")


now how i get the paper name, paper size, orientation & report file
name from foxpro.

thanks

Re: Get Paper Name & Orientation from Crystal Report by Roger

Roger
Sat Sep 22 04:49:56 PDT 2007

crxreport.PaperSource
crxreport.PaperSize
... etc

-Roger

"intel4" <intel_inside_4@hotmail.com> wrote in message
news:1190459349.082195.325510@y42g2000hsy.googlegroups.com...
> Hi,
>
> i am using visual foxpro 9 ith crystal report 11 R2.
>
> to open report i use ;
> crxreport = crxapplication.openreport("test.rpt")
>
>
> now how i get the paper name, paper size, orientation & report file
> name from foxpro.
>
> thanks
>



Re: Get Paper Name & Orientation from Crystal Report by intel4

intel4
Mon Sep 24 00:01:27 PDT 2007

crxreport.PaperSize return 9 & crxreport,orientation return 2. How i
find that 9 is A4 paper & 2 is Landscape? actallu i want to display
real paper size & orientation in my report viewer form so that my
users can easily understand what paper size he should use. either a4
or legal or letter or my own customer paper size cms_receipt.

thanks


Re: Get Paper Name & Orientation from Crystal Report by Roger

Roger
Mon Sep 24 02:09:33 PDT 2007


"intel4" <intel_inside_4@hotmail.com> wrote:

> crxreport.PaperSize return 9 & crxreport,orientation return 2. How i
> find that 9 is A4 paper & 2 is Landscape? actallu i want to display
> real paper size & orientation in my report viewer form so that my
> users can easily understand what paper size he should use. either a4
> or legal or letter or my own customer paper size cms_receipt.

Read the developer help file that came with Crystal Reports.
Look in the Report Designer Component Object Model section
for the Report Object properties - you'll find the relevant constants
there.

-Roger



Re: Get Paper Name & Orientation from Crystal Report by Anders

Anders
Mon Sep 24 02:16:02 PDT 2007

That seems to agree with the numbers for VFP's PRTINFO() function.

-Anders


"intel4" <intel_inside_4@hotmail.com> wrote in message
news:1190617287.250188.138240@w3g2000hsg.googlegroups.com...
> crxreport.PaperSize return 9 & crxreport,orientation return 2. How i
> find that 9 is A4 paper & 2 is Landscape? actallu i want to display
> real paper size & orientation in my report viewer form so that my
> users can easily understand what paper size he should use. either a4
> or legal or letter or my own customer paper size cms_receipt.
>
> thanks
>