MaumeeScott
Technical User
I am attempting to Return the Maximum Value of a Computed field in the content frame. The follwing is the Override Method on the content frame which essentially counts the number of null fields in a record.
Sub OnRow( row As AcDataRow )
Super::OnRow( row )
Dim NullCount As Integer
NullCount = 0
if IsNull(row.getvalue("location.Country")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.State")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.County")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.postcode")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.City")) then let NullCount = NullCount + 1
datavalue = NullCount
End Sub
I would like to return the Max value of this computed field on the after frame.
Thanks as always.
Scott
Sub OnRow( row As AcDataRow )
Super::OnRow( row )
Dim NullCount As Integer
NullCount = 0
if IsNull(row.getvalue("location.Country")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.State")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.County")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.postcode")) then let NullCount = NullCount + 1
if IsNull(row.getvalue("location.City")) then let NullCount = NullCount + 1
datavalue = NullCount
End Sub
I would like to return the Max value of this computed field on the after frame.
Thanks as always.
Scott