Question : Set Border Style of Text Box on Report w/ VBA

Hello ~

How can I set the Border Style of a text box on a report, based on a contingency?

I've tried:

OnFormat Event

If IsNull(PR1iv.Value) Then
rdataPR1.Style = 0
Else
rdataPR1.Style = 1
End If

Resulting in an error: Object doesn't support this property or method.

Ideas?

Answer : Set Border Style of Text Box on Report w/ VBA

rdataPR1.BorderStyle = 0
When you type "rdataPR1."you should get a combo box with the valid choices. You can go through the list to find the one you want.
Random Solutions  
 
programming4us programming4us