True IF a list control has records


#1

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?


#2

See {PROP:LineCount}.


#3

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