02-17-2011, 08:27 PM
I have a simple array I've defined.
I'm pulling a value into my datatable as a seperate action to use later.
Now I need to check my array and execute a line of code ONLY if the value I put into my datatable is present in the array.
I'm pulling a value into my datatable as a seperate action to use later.
Now I need to check my array and execute a line of code ONLY if the value I put into my datatable is present in the array.
Code:
TestArray = Array("value1", "value2")
TeWindow....TeField("FieldName").Output CheckPoint("GetValue")
If DataTable("GotValue", dtGlobalSheet) 'help me' Then
...This code will execute if "GotValue" is in the TestArray
End If