How to change field's content programmatically?

Products:   
Areas: ASP 

You can programmatically manipulate the value of a control such as a Label or Tetxbox by using Before Show event for this control. You may also use Before Show event of a Record component or Before Show Row event of a Grid component.
To change control's value, use the following syntax:
   <component_name>.<control_name>.Value = <expression>

Where:
- <component_name> is the name of the component
- <control_name> is the name of the control (usually the database field name)
- <expression> is the value or expression that you like to assign to the control.


Viewed 25443 times.   Last updated: 7/23/2002 3:24:05 AM