Command Appendix C: Error Codes

4D Write

Appendix C: Error Codes

version 2004 (Modified)


The following is a list of error codes returned by 4D Write. These codes are used by the WR Error number, WR Error text and WR ON ERROR commands.

CodeText Error
1002Error while printing.
1003Invalid left margin parameter (too close to the right margin).
1004Invalid indent parameter (too close to the right margin).
1005Invalid right margin parameter (too close to the left margin and/or indent).
1006Invalid tab parameter.
1007Invalid array parameter: Array is not a valid type or size, or is not an array at all.
1012The file has not been saved.
1013Invalid selection (either start < 0 or end < start).
1015The file has not been read.
1016Invalid menu or item reference.
1017This field does not seem to be a 4D Write field.
1022Invalid area parameter passed to an external command.
1023Invalid 4D file reference number.
1024A 4D text variable or field allows a maximum of 32000 characters.
1028Invalid position passed to WR Select.
1032This file does not exist.
1034There is no picture selected.
1035Invalid size parameter.
1036Invalid position parameter.
1038This style does not exist.
1041Not enough memory to execute this command.
1044Invalid event type.
1047Invalid field reference.
1048Invalid option number.
1051This path does not exist.
1054First parameter is invalid.
1055Second parameter is invalid.
1056Third parameter is invalid.
1057Fourth parameter is invalid.
1060You cannot insert a subfield.
1065This picture does not seem to be valid.
1066You cannot create more than 256 tab stops.
1067Invalid tab position.
1068Invalid tab justification.
1069You cannot insert a Blob.
1072There is no hyphen to remove.
1073Invalid expression.
1074Invalid Blob.
1075Text property out of range.
1076Text property value out of range.
1077Font not in system.
1078Unknown stylesheet.
1079Document property out of range.
1080Document property value out of range.
1081Selection has changed during printing.
1082Invalid destination number.
1083Invalid picture in page number.
1084Invalid tab number.
1085Page number format out of range.
1086Invalid page number.
1087Invalid column number.
1088Invalid line number.
1089Invalid option number.
1090Invalid statistic number.
1091Invalid frame reference.
1092Invalid command number.
1093Cannot print. Document is already printing.
1094Reserved StyleSheet.
1095Cannot Open File.
1096Cannot open fast saved Word file.
1097The document was damaged and has been repaired.
1098Invalid number of characters.
1099Invalid page layout information.
1100Some pictures cannot be imported from the Word document.

See Also

WR Error number, WR Error text, WR ON ERROR.