You can use the following Actuate Basic functions or Component methods to count the number of NULL datarow variables.
1. GetVariableCount(DataRow) -- to find the number of datarow variables.
2. Function GetValue( index As Integer ) As Variant of the datarow.
3. IsNull(<expr>).
*****
Dim i as integer
Dim nulCount as Integer
For i = 1 to GetVariableCount(Fetch)
if IsNull(Fetch.GetValue(i)) then
nulCount = nulCount + 1
end if
Next I
*****
You can use the above code in the Fetch method of the datastream and save the nulCount value in a datarow variable to be used later.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.