Found()
This function reports on the success of various search commands. It's affected by LOCATE, CONTINUE, SEEK, SEEK(), INDEXSEEK(), relations and the antique FIND command.
Usage |
lFoundMatch = FOUND( [ cAlias | nWorkArea ] ) |
Example |
USE Employee ORDER Last_Name SEEK "FULLER" ? FOUND() && Returns .T. SEEK "HOSSENPFEFFER" ? FOUND() && Returns .F. USE Customer USE Orders IN 0 ORDER Customer_I SET RELATION TO Customer_Id INTO Orders * look at all customers without orders BROW FOR NOT FOUND("Orders") |
See Also |
Continue, Find, IndexSeek(), KeyMatch(), Locate, Seek, Seek(), Set Near, Set Relation |