Bad function number.

Robert Repko rtr at rsquared.com
Wed Sep 21 18:31:19 PDT 2016


You don't need the quotes unless you have a space in the path, which I don't.  To prove my point I enclosed the path with quotes as you stated and I still got the same error message.

-----Original Message-----
From: Filepro-list [mailto:filepro-list-bounces+rtr=rsquared.com at lists.celestial.com] On Behalf Of Joan Sanchez via Filepro-list
Sent: Wednesday, September 21, 2016 6:31 PM
To: filepro-list at lists.celestial.com
Subject: Re: Bad function number.

You're missing quotes around the file path and name:

import ascii imp="c:\tmp\2016payroll.csv" r=\n f=, o=" c="


Joan Sanchez
Aljex Software, Inc.
(732) 357-8700 x 166
joan at aljex.com <mailto:joan at aljex.com>
Aljex Signature

On 9/21/2016 5:42 PM, Robert Repko via Filepro-list wrote:
> 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
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes 
> http://mailman.celestial.com/mailman/listinfo/filepro-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20160921/9493b6c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Aljex-logo-signature.jpg
Type: image/jpeg
Size: 44724 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20160921/9493b6c2/attachment.jpg>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list