I am maintaining a paradox 4.5 dos database. In one of the scripts I make a call to dos with the command:
RunBigParam = "PrintIt.bat "+STRVAL(RECNO())
RUN BIG RunBigParam
RunBigParam is a variable which holds a string and the STRVAL(RECNO()) function returns a record number. The batch file it calls and passes the paramater to has this definition.
path = c:\aprompt;c:\prmptrpts;c:\rp;c:\pdox45
RPRUN RPRUNIN %1
RPRUN is a program file for a package called R&R Report Writer and RPRUNIN is a paradox table. Report Writer searches the table for the record number and then prints a report.
This script excutes fine on the old 486 machine, but when moved to windows NT it produces this error
init error: argument out of range
can anyone help with this.
RunBigParam = "PrintIt.bat "+STRVAL(RECNO())
RUN BIG RunBigParam
RunBigParam is a variable which holds a string and the STRVAL(RECNO()) function returns a record number. The batch file it calls and passes the paramater to has this definition.
path = c:\aprompt;c:\prmptrpts;c:\rp;c:\pdox45
RPRUN RPRUNIN %1
RPRUN is a program file for a package called R&R Report Writer and RPRUNIN is a paradox table. Report Writer searches the table for the record number and then prints a report.
This script excutes fine on the old 486 machine, but when moved to windows NT it produces this error
init error: argument out of range
can anyone help with this.