home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Isa_dbf
-
- PARAMETERS _thefile
-
- IF EMPTY(PCOUNT())
- RETURN(.F.)
- ELSEIF TYPE("_thefile") != "C"
- RETURN(.F.)
- ENDIF
-
- PRIVATE _handle, _retval
-
- _thefile = IF((EMPTY(AT(".", _thefile))), _thefile + ".DBF", _thefile)
-
- _handle = FOPEN(_thefile)
- IF _handle < 0
- RETURN(.F.)
- ELSE
- _retval = IF_DBF(_handle)
- FCLOSE(_handle)
- RETURN(_retval)
- ENDIF
-
- * End of File