True IF a list control has records


Was surprised to learn PROP:From is write-only (a rare attribute indeed) and my aging grey matter is being challenged by the simple need to generically know whether or not a list control has records.

My initial thought was it would be something like the following:
QRef &= ?LIST{PROP:From}
RecCount = RECORDS(QRef)
QRef &= NULL
RETURN(RecCount = 0)

Any solutions?


See {PROP:LineCount}.


Thank you, Mike. Yet another property that I have missed over the years.