EXPORT Question

Richard Kreiss rkreiss at verizon.net
Tue Oct 12 16:11:56 PDT 2010


I do a lot of exports to create file imported into EXCEL.

 export word ofile=c:\path\myfile.csv  (no quotes)

If the value to the right of the = is a long variable, use

Filename= "c:\path\myfile.csv"

export word ofile=(filename)

My preference on a windows based system is to place the file in the users
documents folder and the at @done

System "start excel"<filename

Or if you don't want to come back into filePro, 

Putenv "myfile",filename

Add after your command line  for the export, start %myfile%

However if the export file name never varies, hardcode the name.

Richard Kreiss
GCC Consulting

-----Original Message-----
From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
[mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
Behalf Of Art Moore
Sent: Tuesday, October 12, 2010 7:50 PM
To: filepro-list at lists.celestial.com
Subject: EXPORT Question

I realize what I am asking about is filePro 101. But....

I have tried using lines from Laura's Help File and am surely doing
something wrong because it does not work. I am sure I am misinterpreting
some very simple instructions.

I have a file named 'crsfinal'.  I want the data in that file to ultimately
end up in an EXCEL file.  My limited knowledge tells me to export the data
into a comma-delimited .csv file and from there I can convert it to an EXCEL
file.

Assuming that is correct I have written the following line in output
processing in the 'crsfinal' file.

EXPORT  WORD ofile="myfile"                

I get the following error:

System Error
on File: "myfile"
Output Processing
Line Number 1
EXPORT WORD ofile = "myfile"
^
Bad Function Number

If anybody is listening I would be grateful for some help.  THANK YOU IN
ADVANCE.

Art Moore
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.celestial.com/pipermail/filepro-list/attachments/20101012/144
00c87/attachment.html
_______________________________________________
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