Export Problem
Ken Cole
ken.m.cole at gmail.com
Mon May 6 17:14:26 PDT 2013
Jerry,
I hate to be the bearer of bad news but the fil[ct] part of the export does
not take a regular expression, only literals. So you need 125 file["1"]=
file["2"]= commands to get the 125 fields exported.
Also, the "not fil" is not required.
Ken
On Tue, May 7, 2013 at 8:58 AM, Jerry Crespi <jcrespi at alliedhr.com> wrote:
> Here is some sample code that should work, but doesn't.
> I want to export all the fields in a file, using an array and a
> looping counter. The
> result is a file that has one field per record, rather than 125
> fields per record.
> Ideas anyone? What am I doing wrong?
>
> ACTION D E F I N E P R O C E S S I N G
> -------------------------------------------------------------
> 1 ------- - - - - - - - - - - - -
> ? If:
> Then: fn="/appl/fpmerge/exported.csv"
> 2 ------- - - - - - - - - - - - -
> ? If:
> Then: ct(3,#)="1";dim fld(125):1
> 3 ------- - - - - - - - - - - - -
> ? If:
> Then: export word fil=(fn)
> 4 ------- - - - - - - - - - - - -
> again ? If: ct le "125"
> Then: fil[ct]=fld(ct);ct=ct+"1";goto again
> 5 ------- - - - - - - - - - - - -
> ? If: not fil
> Then: end
> 6 ------- - - - - - - - - - - - -
>
>
>
> Jerry Crespi, Ph.D.
> President
> Allied Business Systems Inc.
> the people systems people
> V. (714) 963-5554 Ext 4
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.celestial.com/pipermail/filepro-list/attachments/20130506/ac2e9742/attachment.html
> _______________________________________________
> 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/20130507/a9311083/attachment.html
More information about the Filepro-list
mailing list