home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Delete_it
-
- PARAMETERS _condition
-
- * In panning, if a record needs to be deleted or recalled for a
- * specific reason, this function should be called.
-
- IF PCOUNT() = 0
- _condition = ".T."
- ENDIF
-
- IF TYPE("_condition") = "L"
- IF _condition
- DODELIT()
- ELSE
- RETURN(.F.)
- ENDIF
- ELSE
- IF &_condition.
- DODELIT()
- ELSE
- RETURN(.F.)
- ENDIF
- ENDIF
- RETURN(.T.)
-
- ********************
-
- FUNCTION Dodelit
-
- IF DELETED()
- RECALL
- ELSE
- DELETE
- ENDIF
- RETURN(.T.)
-
- * End of File
-