<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You're missing quotes around the file path and name:<br>
<pre wrap="">import ascii imp="c:\tmp\2016payroll.csv" r=\n f=, o=" c="</pre>
<br>
<div class="moz-signature">Joan Sanchez<br>
Aljex Software, Inc.<br>
(732) 357-8700 x 166<br>
<a href="mailto:joan@aljex.com">joan@aljex.com</a><br>
<img src="cid:part2.FF111574.CD345B86@aljex.com" alt="Aljex
Signature" width="140"><br>
<br>
</div>
<div class="moz-cite-prefix">On 9/21/2016 5:42 PM, Robert Repko via
Filepro-list wrote:<br>
</div>
<blockquote
cite="mid:ff3143df0894416e933bdc2791054ddc@xchange.r2.local"
type="cite">
<pre wrap="">I have an import routine that I have used before but now I am getting a 'Bad function number' error when I try to import data.
The file I am trying to import is a comma delimited ascii file. It resides on c:\tmp and is called 2016payroll.csv
My processing table is:
nxtimp:::
::import ascii imp=c:\tmp\2016payroll.csv r=\n f=, o=" c=":
:not imp:end:
::lookup irs = 1099 r=free -n:
::irs(11)=imp(2):
::irs(12)=imp(1):
::write irs
::goto nxtimp
The complete error is:
*** A System Error Has Occurred ***
On File: c:\tmp\2016payroll.csv
Output Processing
Line Number: 2
import ascii imp=c:\tmp\2016payroll.csv r=\n f=, o=" c="
^
Bad function number.
I don't see the problem. Might I add that I am trying to import on a Windows 10 system (maybe that's my problem)
Does anyone see what I am missing?
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
</body>
</html>