cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make borders to an IFieldObject in Crystal Reports?

Former Member
0 Kudos

Hello,

The IFieldObject has HTML format, and I tried this:

crParameterDiscreteValueCelda.Value = "<center><div style='width:500px;height:100px;border:1px solid #555;'>Un texto cualquiera</div></center>"

It shows that in that way but without borders.

What should I do to make borders appear?

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

Are you placing the field on the report programmatically or is it a parameter that you've put on the report? If it's a parameter that you've placed in the design of the report, right-click on the object in the report and select "Format ..." Go to the "Border" tab and set the borders.

-Dell

Answers (1)

Answers (1)

Former Member
0 Kudos

I put the field on the report, but the border is set programmatically, that's what doesn't work.