Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

init error: argument out of range

Status
Not open for further replies.

guscottg

Technical User
Mar 14, 2001
9
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top