SetGridValueByColumnName method (WinStudio scripts)

Applies To

IWSFormComponent interface, grid objects

Definition

Sets the value of a row/column in a grid component.

Syntax

object.SetGridValueByColumnName( integer, string1, string2 )

  Part   Description
object Required. A reference to a grid object.
integer Required. The row number.
string1 Required. The column name.
string2 Required. The value being set.

Example

Sub Main()
   Dim iRow As Integer
   iRow = 1
   ThisForm.Components("FormCollectionGrid"). _
      SetGridValueByColumnName(iRow, "OutputFormatDescGridCol", "New Value")
End Sub