I have a datarepeater that repeats a "question" control. I have to check a boolean property for every instance of a row in the recordset. I had read that you could use ActiveRow to set the current row, but when I do I get an error:
This is the function I have. All it is supposed to do is check to see if all the rows are valid.
Any suggestions?
Code:
Variable required - cannot assign to this expression.
Code:
private function IsValid() as boolean
IsValid = true
with Repeater
for .ActiveRow = 1 to .VisibleRows
if(.RepeatedControl.IsValid)then
IsValid = false
exit function
end if
next
end with
end function