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

Field positioning based on paper size

Status
Not open for further replies.

N11689

Programmer
Jan 29, 2002
113
US
Does anyone know if there is a function in Crystal that knows what paper size the report is about to print to?

Reason for this:
Need to be able to position the beginning of a field based on whether the paper size is Letter or A4 paper. Want to be able to set the X: coordinate in Object Size and Position based on the paper size. To do that, we need to know the paper size the report is about to print to (after printer selection, but before the report prints).

I have searched through help and some of the functions. I am going to continue to look, but if you have any info on this, it would be appreciated.

Thank you.
 
From an outsode application, yes. From within Crystal, no.
You could however create a parameter.
A simpler approach is to create two rpt files instead of one.

- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
That is what I expected, but needed to ask anyway.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top