FOUND()
Determine the success of a previous search operation.
- Syntax
- FOUND() --> lSuccess
- Arguments
- None.
- Returns
- <lSuccess> A logical true (.T.) is successful;otherwise, false (.F.)
- Description
- This function is used to test if the previous SEEK,LOCATE,CONTINUE, or FIND operation was successful.Each wrk area has its own FOUND() flag,so that a FOUND() condition may be tested in unselected work areas by using an alias.
- Examples
- nId:=100
- USE Tests NEW INDEX Tests
- SEEK nId
- IF FOUND()
- ? Tests->Name
- ENDIF
- USE
- Status
Ready
- Compliance
- This function is CA-Clipper compatible
- Files
- Library is rdd
- See Also