Navigation: Language Reference > 13 - Built-in Functions >====== FIXFORMAT (fix a dynamic file) ====== | |
FIXFORMAT( file )
file | The label of a FILE structure, which must be a reference variable. |
FIXFORMAT fixes a dynamic file so that it can be used like any other file.
If you pass a file that was not created using NEW(file), FIXFORMAT posts the following error codes that can be trapped by the ERRORCODE function:
Errorcode | Equate | Reason |
80 | NoDriverSupport | File passed that was not created with NEW(file) |
47 | InvalidFileErr | Structure is invalid |
If Error code 47 is posted, the FILEERRORCODE statement can be used to return extended information. See the ErrorCode 47 Extended information topic for more information.
See Also: UNFIXFORMAT