Monday, December 8, 2008

How to find the existance of a Column in the Datatable?

intParameterCount = DataTable.GetSheet("Global").GetParameterCount
For intParameterPosition = 1 to intParameterCount
strParameter = DataTable.GetSheet("Global").GetParameter(intParameterPosition).name
'Do evaluation of Column (Parameter) existance
If strParameter = "ColumnHeader" Then
msgbox "Found the Column"
Else
msgbox "Not Found"
End If
Next

No comments:

Post a Comment