Set Crystal Reports Margins at Runtime

W

Wayne Wengert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top