Ce
|
| Posted: 08/07/2002, 11:41 AM |
|
I'm using CCS.
I want to bold text on particulars rows.
I have a label called fldComprobante in a grid called Resultado and I want to show it in bold when it says "Disponible".
I tried this but I don't know how to access the labels of the grid. This gives me this error: Variable is undefined: 'fldComprobante'
I've also tried:
-Resultado.RowControls("fldComprobantes") - Error: Object doesn't support this property or method: 'Resultado.RowControls'
-Resultado.fldComprobantes - Error: Object doesn't support this property or method
What am I doing wrong??
Function Resultado_BeforeShowRow() 'Resultado_BeforeShowRow @4-84E25579
'Custom Code @48-73254650
' -------------------------
If fldComprobante = "Disponible" Then
fldComprobante = "<br>" & fldComprobante & "</br>"
End If
' -------------------------
'End Custom Code
End Function 'Close Resultado_BeforeShowRow @4-54C34B28
|
|
|
 |
Ron
|
| Posted: 08/08/2002, 3:13 AM |
|
Hello,
to access field value in the Before Show Row event use code:
form_name.field_name.Value
To display field in bold, set its Content property to HTML and place the code like below into the event mentioned above:
form_name.field_name.Value = "<b>" & form_name.field_name.Value & "</b>"
Also it would be helpful for you to refer to User Manual available at: http://support.codecharge.com/tutorials.asp
|
|
|
 |
|