Go Back   68 Classifieds Forums > General > Off Topic

Off Topic Off topic messages.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2007, 09:39 AM
Maffo Maffo is offline
The Master
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,104
Rep Power: 33
Maffo is a jewel in the rough
Default CSV & Microsoft Excel

Does anybody have microsoft excel??

I use openoffice for my spreadsheets.

If you use excel could you be kind enough to tell me the default values when saving a file as csv.

EG Fields terminated with, lines terminated with.

Thank you
Reply With Quote
  #2  
Old 12-04-2007, 10:20 AM
Mike-N-Tosh's Avatar
Mike-N-Tosh Mike-N-Tosh is offline
Moderator
 
Join Date: Jan 2007
Posts: 530
Rep Power: 18
Mike-N-Tosh is a jewel in the rough
Default

Maffo,

I have and use excel, however I'm no expert. My experience has been that when you open a CSV (text only file) with Excel, that it uses whatever the original text file was saved as.

Although CSV means -> comma separated values, it can also be tabbed separated, ";", "|" etc...

If you open a CSV and then manipulate the data within it and then "export" the file, you can then specify the end of field. I believe that it uses an end of line for the row separation.

PM me if you'd like to send me a sample CSV of what you are doing and I'll see if I can help you out.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer
Sandbox v4.0

Templates for sale | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #3  
Old 12-04-2007, 10:28 AM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 2,426
Rep Power: 61
Lhotch is just really niceLhotch is just really nice
Default

I just created a bogus worksheet and saved it as CSV. I wasnt really given any options, just asked if I really wanted to save it in that format because some functionality would be lost.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #4  
Old 12-04-2007, 11:00 AM
Mike-N-Tosh's Avatar
Mike-N-Tosh Mike-N-Tosh is offline
Moderator
 
Join Date: Jan 2007
Posts: 530
Rep Power: 18
Mike-N-Tosh is a jewel in the rough
Default

� CSV (comma delimited)

The CSV (comma delimited) file format saves only the text and values as they are displayed in cells of the active worksheet. All rows and all characters in each cell are saved. Columns of data are separated by commas, and each row of data ends in a carriage return. If a cell contains a comma, the cell contents are enclosed in double quotation marks.
If cells display formulas instead of formula values, the formulas are converted as text. All formatting, graphics, objects, and other worksheet contents are lost.
Note If your workbook contains special font characters such as a copyright symbol (�), and you will be using the converted text file on a computer with a different operating system, save the workbook in the text file format appropriate for that system. For example, if you are using Windows and want to use the text file on a Macintosh computer, save the file in the CSV (Macintosh) format. If you are using a Macintosh computer and want to use the text file on a system running Windows or Windows NT, save the file in the CSV (Windows) for Windows.
__________________
Mike-N-Tosh
v3.1.10 Developer
Sandbox v4.0

Templates for sale | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #5  
Old 12-04-2007, 11:17 AM
Maffo Maffo is offline
The Master
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,104
Rep Power: 33
Maffo is a jewel in the rough
Default

Thanks guys,

My question was if you have anyold spreadsheet and save it as csv in excel, what are the default delimters. When you open the csv with notepad, the fields will be seperated probably with a comma with any text inside "".

Is that right for excel? Thats what happens in open office
Reply With Quote
  #6  
Old 12-04-2007, 11:40 AM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 2,426
Rep Power: 61
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Maffo
My question was if you have anyold spreadsheet and save it as csv in excel, what are the default delimters.

comma is default delimiter with text in double quotes.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #7  
Old 12-04-2007, 11:56 AM
Maffo Maffo is offline
The Master
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,104
Rep Power: 33
Maffo is a jewel in the rough
Default

Excellent. Thanks Larry, thanks Mack!
Reply With Quote
  #8  
Old 12-04-2007, 02:58 PM
Mike-N-Tosh's Avatar
Mike-N-Tosh Mike-N-Tosh is offline
Moderator
 
Join Date: Jan 2007
Posts: 530
Rep Power: 18
Mike-N-Tosh is a jewel in the rough
Default

It might be different on a Windows version (I'm on a Mac). Excel doesn't put quotes around the field data. That drives me nuts!

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer
Sandbox v4.0

Templates for sale | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #9  
Old 12-04-2007, 03:05 PM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 2,426
Rep Power: 61
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by Mike-N-Tosh
It might be different on a Windows version (I'm on a Mac). Excel doesn't put quotes around the field data. That drives me nuts!

-Mike
Yes and no.

If the data cell contains a comma for example it will surround it with quotes. But if its just text it wont.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #10  
Old 12-04-2007, 03:27 PM
Mike-N-Tosh's Avatar
Mike-N-Tosh Mike-N-Tosh is offline
Moderator
 
Join Date: Jan 2007
Posts: 530
Rep Power: 18
Mike-N-Tosh is a jewel in the rough
Default

Just another example of Microsoft's consistent inconsistency.

Now, if I could just get Filemaker Pro to accept HTML in fields and output Unix line fields...
__________________
Mike-N-Tosh
v3.1.10 Developer
Sandbox v4.0

Templates for sale | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out

Last edited by Mike-N-Tosh; 12-04-2007 at 03:33 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Design by HTWoRKS