469,332 Members | 6,874 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

Set Crystal Reports Margins at Runtime

I am using VB in VSNET 2003 and I have a project that includes some reports
imported from Crystal Reports 10. Everything works fine but I need to change
the margins at runtime and I can't find the way to do that. If my report is
"ActiveReport" and I try the code:

ActiveReport.PrintOptions.PageMargins.topMargin = 0.40

I get an error saying that the expression is a value and cannot be the
target of expression

Does anyone know the correct syntax to accomplish this?

TIA

Wayne
Nov 21 '05 #1
0 3022

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Stephan | last post: by
4 posts views Thread by Rick Thiel | last post: by
reply views Thread by Ioannis Demetriades | last post: by
7 posts views Thread by Sink | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.