I'm having an odd issue with exporting my results to excel. Normally, the search columns would be the delimiter so I would see part number in one excel column, description in another, state in a third, etc. But for some reason some of my files are breaking up differently and I think I have it narrowed down. Almost everything is fine except in my description is where I notice the problem. I might have in my description:
Angle, L3x3 X 12", 2 holes, 416 SS
What I would get would be:
Angle, L3x3 X 12 2 holes 416 SS"
It's like the double quote stopped the search columns from being the delimiter and changed it to commas being the delimiter but then it would add the double quote at the end.
SolidworksSolidworks Pdm enterprise Pdm
This is an Excel import thing and not really a PDM export thing.
Importing CSV into Excel with commas in quoted fields - Super User
How do I get Excel to import a CSV file with commas in some of the content fields? - Super User
I'm not to sure about that. If I were to export a text file into excel a window pops up telling you that the comma is the default delimiter but you can change it to other characters. In the search window I don't have an option to change it, at least not that I can find.
I believe that the issue is the space that is after the comma. If you were to take the spaces out, then it would work correctly (I think).
Or it might be that double quote that you have. Try changing it to "in" or 2 single quotes.
Nice try, Dan, but I tested this and it didn't make a difference.
please provide 1 or 2 full lines of text that you are trying to import.
Greg, It's just like I said. I have a property called Description and some of our parts use size in the description, example:
Angle, L3x3 X 12", 2 holes, 416 SS
This should export completely into one cell because it is only one variable and takes up only one column in the search window. Instead, it is breaking up into 3 cells in excel as noted above. It is repeatable as well. I have run tests. If I use the double quote in a single property followed by any data separated by commas, then the commas become delimiters in addition to the separate variables. Another example:
ABC, 123", EFG, 456
This should be all in one cell since it was a single description of a part. Instead it became three cells in excel:
ABC, 123 EFG 456"
Hey Stephen,
Try using a different list separator in your regional settings like a semicolon ; in the operating system on the machine where the exporting gets done
Edit: Changing the thousands separator in Excel does not accomplish what you need. Make the changes in the Windows control panel for regional settings. I tried several data card values including your specific value "Angle, L3x3 X 12", 2 holes, 416 SS" and only the regional settings list separator change made the difference.
OR
Go into Excel > Options > Advanced and uncheck "Use system separators" (this is probably preferred since it's localized to Excel only and not system wide)
Refer to knowledge base SPR# 351998
Refer to the knowledge base SPR# 1028991
See if this helps your situation and report back.
Tim
Believe in the Q!
Thanks, Tim. I tried the excel option and that didn't work. I was about to reply when I saw your edit. Changing the regional setting in Windows fixed this issue. I wouldn't have thought of the issue being in Windows.
Cool. Yeah, me too. Odd it's a Windows fix! So glad it helped Stephen.
Oh hey Stephen,
Wanted to make sure you knew there could possibly be other side effects that come with making this switch if you use CSV file types for anything else. I use an accounting system that uses CSV file types and this causes an irritation so I have to switch it back every few weeks when working with accounting.
Thanks, Tim. I already thought of this. I wasn't sure if there is anything that it would affect besides CSV files as well. As far as I can tell no one here will have an issue but I will be keeping an eye out for any issues.