CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 'Before Show Row' Grid Event - Alternate font

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.