info(“empty”)

The info(“empty”) function returns true or false depending on the result of the last select operation. If no records were selected the function will return true, otherwise it will return false.


Description

This function returns true or false depending on the result of the last select operation. If no records were selected the function will return true, otherwise it will return false.

The procedure below selects all records that are “Ready”, whatever that means. If there are any ready records, the procedure prints them.

select Status="Ready"
if info("empty")
    message "Nothing ready today!"
    stop
endif
print dialog
field Status
formulafill "Printed"

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0