I have a text fld that I need to check that it contains a FULL 19 lines of TEXT (Each line must contain TEXT).
I have the following below but it is counting empty lines which is not suitable for my purpose.
Is there a way to calculate number of lines of Text That actually contain Text?
Code: Select all
on checkFullData
if number of lines of formattedText of field "ScoreRunS1" = "19"
then
writeData
else
answer warning "Data Missing, Please enter a full set of scores" titled "Validating Data"
end if
end checkFullData