TextBox on report: Border Style

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

I have a textbox on a report and want set what type of Border for the
textbox. I put the code on the detail section band of the report. I used:

If x = y Then
Me.TextBox10.BorderStyle = 3
Else
Me.TextBox10.BorderStyle = 0
Endif

But it prints with a solid border.

Is there a way to get different border styles on the textbox of a report.

Thank you,

Steven
 
Hi Steven,
if you put your code in the onformat event of the section of your report
that contains textbox10 it'll surely work. Obviously if the two variable x
and y are visible for the report.

HTH Paolo
 

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

Back
Top