Author Topic: Exporting to Excel  (Read 2666 times)

0 Members and 1 Guest are viewing this topic.

jcright

  • Member
  • Posts: 6
    • View Profile
Exporting to Excel
« on: May 22, 2007, 08:13:08 AM »
How do I go about exporting my data? I'd like to send a query, via e-mail, to myself in excel.

kenbrody

  • Administrator
  • Posts: 82
    • View Profile
Re: Exporting to Excel
« Reply #1 on: May 22, 2007, 08:47:14 AM »
How do I go about exporting my data? I'd like to send a query, via e-mail, to myself in excel.
There is an EXPORT command in processing which you can use to build a CSV file, which can be loaded/imported into Excel.  I believe there is a sample file which you can download, showing exactly how to do this.  Contact fpsupport@fptech.com and ask them for it if you can't find it on the website.

In its most basic form, you create a processing-only output format with something like the following:
    export word out=/path/to/export/file
    out[1] = 1 ; out[2] = 2 ; out[3] = 3
    ' and so on, for each field that you want exported

Note that "export word" sets the default export parameters to those which Excel (as well as MS-Word) prefer.  You could explicitly set these with something like:
    export ascii out=/path/to/export/file f=, r=\n o=" c="
Kenneth Brody
aka "Mr. filePro"  :-)

kencole

  • Member
  • Posts: 23
    • View Profile
Re: Exporting to Excel
« Reply #2 on: May 22, 2007, 06:47:02 PM »
There are also a couple of 3rd party products available from members of this forum or at least members of the filePro mailing list that will then convert the CSV file to an actual Excel spreadsheet.

There are products from members that will also help with the emailing if you need help there as well.
Regards,

Ken Cole

hjkelsheimer

  • Member
  • Posts: 28
    • View Profile
    • http://www.mgmtkoncepts.com
Re: Exporting to Excel
« Reply #3 on: October 04, 2007, 10:21:24 AM »
All of what Ken Brodie sz is correct. Depending on where you send the file and name it i.e. /tmp/test.txt I just use temp as the dir I like to send to. Then copy to your PC / rename the file *.csv and you should be good to go.

Alan

  • Member
  • Posts: 7
    • View Profile
Re: Exporting to Excel
« Reply #4 on: October 16, 2007, 05:00:21 PM »
Dan Coutu at snowy owl computing has written a program that will take a csv file and create a excel file.  He can be reached at. 802 334 0251.