Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Among the possible causes of this error are:
The length of a record variable specified in a
FileGet,FileGetObject,FilePutorFilePutObjectstatement differs from the length specified in the correspondingFileOpenstatement.The variable in a
FilePutorFilePutObjectstatement is or includes a variable-length string.The variable in a
FilePutorFilePutObjectis or includes aVarianttype.
To correct this error
Make sure the sum of the sizes of fixed-length variables in the user-defined type defining the record variable's type is the same as the value stated in the
FileOpenstatement'sLenclause.If the variable in a
FilePutorFilePutObjectstatement is or includes a variable-length string, make sure the variable-length string is at least 2 characters shorter than the record length specified in theLenclause of theFileOpenstatement.If the variable in a
FilePutorFilePutObjectis or includes aVariantmake sure the variable-length string is at least 4 bytes shorter than the record length specified in theLenclause of theFileOpenstatement.