I'm not sure what version / PU you have, but I am guessing the line of code at is
tmpExportRec$(d.StartPosition,d.Length)=value$
TmpExportRec$ is populated field by field and Value$ is the field it is currently trying to add to that field
.
if you click on INFO and then on DEBUG button
type in
? tmpExportRec$ to see the values that are in that variable so far
? LEN(tmpExportRec$) will tell you how many Characters long the export record is expected to be
? d.StartPosition to see the starting position that it is trying to fill the field with
? d.Length, is the length of the field i
? value$ is the string that Sage is trying to add to the export record.
looking at those results might point you to a check that is causing the issue.
I hope that helps.
------------------------------
David Overholt
Programmer/Project Manager
DWD Technology Group
Fort Wayne IN
(260) 399-8655
------------------------------