HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


Membership:
Latest: IPutMoInYoA
New Today: 0
New Yesterday: 0
Overall: 13131

People Online:
Members: 0
Visitors: 147
BOT: 2
Total: 149
Who Is Where:
 Visitors:
01: Forums
02: Forums
03: Forums
04: Forums
05: Forums
06: Forums
07: Forums
08: Home
09: Forums
10: Forums
11: Home
12: Forums
13: Forums
14: Home
15: Forums
16: Forums
17: Home
18: Forums
19: Forums
20: Forums
21: Forums
22: Home
23: Forums
24: Forums
25: Home
26: Forums
27: Forums
28: Forums
29: Forums
30: Forums
31: Your Account
32: Forums
33: Forums
34: Forums
35: Home
36: Home
37: Forums
38: Home
39: Forums
40: Forums
41: Home
42: Home
43: Home
44: Forums
45: Home
46: Forums
47: Home
48: Forums
49: Forums
50: Photo Albums
51: Forums
52: Forums
53: Forums
54: Home
55: Forums
56: Home
57: Forums
58: Forums
59: Home
60: Home
61: Forums
62: Forums
63: Home
64: Forums
65: Forums
66: Home
67: Home
68: Forums
69: Forums
70: Forums
71: Forums
72: Forums
73: Forums
74: Forums
75: Forums
76: Home
77: Forums
78: Forums
79: Photo Albums
80: Forums
81: Home
82: Forums
83: Forums
84: Your Account
85: Forums
86: Forums
87: Forums
88: News
89: Forums
90: Forums
91: Home
92: Home
93: Home
94: Home
95: Forums
96: Forums
97: Forums
98: Home
99: Forums
100: Forums
101: Forums
102: Forums
103: Home
104: Forums
105: Forums
106: Home
107: Home
108: Forums
109: Photo Albums
110: Forums
111: Forums
112: Home
113: Forums
114: Home
115: Forums
116: Home
117: Forums
118: Forums
119: Home
120: Photo Albums
121: Forums
122: Forums
123: Forums
124: Home
125: Your Account
126: Forums
127: Forums
128: Forums
129: Forums
130: Home
131: Forums
132: Forums
133: Home
134: Forums
135: Home
136: Forums
137: Forums
138: Home
139: Forums
140: Forums
141: Forums
142: Forums
143: Home
144: Forums
145: Home
146: Home
147: Forums
  BOT:
01: Home
02: Home

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 308
 Pictures: 2452
  · Views: 824587
  · Votes: 1316
  · Comments: 86
 

CSV export configuration problem
Post your bug reports or feature requests here!

View previous topic :: View next topic  
Author Message
lince
Member
Member


Joined: Jul 19, 2006
Posts: 32
Location: Madrid, Spain

PostPosted: Sun Aug 23, 2015 11:33 pm    Post subject: CSV export configuration problem Reply with quote

Hello,
I've tried to export my ballistics data in a CSV file but I found a problem: my laptop has defined a local configuration as ES (spanish), so the decimal separator is a comma "," instead of a dot "."
So when importing to excel or another program the created CSV file it doesn't distinguish between decimal numbers of a value and a different column data.

Maybe some of you could suggest to me to change the locale values of my laptop but this is very complicated for the rest of my software, so I'd suggest to modify Pointblack to be able to change the separator character (for example to a TAB, a DOT, etc.) for CSV files. In this way for different languages it could be easier to manage the data. I suppose this is an easy solution.
Another option is to change the CSV export file format to be written in fixed width columns, but I suppose this is more complicated to code.
As usual, thanks to everybody for reading and also to DallanC for this superb software.
Best regards from Spain!.
Back to top
View user's profile
MacD
Super Member
Super Member


Joined: Apr 08, 2011
Posts: 1052
Location: Canada

PostPosted: Mon Aug 24, 2015 5:31 am    Post subject: Re: CSV export configuration problem Reply with quote

A workaround is to change the language for your spreadsheet to English and import the CSV file.Then change back to Spanish and export a new CSV file. I know language can be set in MS Office and I assume in Open Office.

_________________
La a'Blair s'math n Cairdean
(Friends are good on the day of battle)
Back to top
View user's profile
lince
Member
Member


Joined: Jul 19, 2006
Posts: 32
Location: Madrid, Spain

PostPosted: Tue Aug 25, 2015 1:22 am    Post subject: Re: CSV export configuration problem Reply with quote

MacD,
Thanks a lot for your help, but anyway I think it's not a solution: the problem appears when exporting from PB to a CSV file, in which both decimal and separators are commas. In this way whichever language is defined in the spreadsheet it will take all commas as separators.
Or maybe I didn't understand your suggestion, could you please confirm?
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Tue Aug 25, 2015 6:51 pm    Post subject: Re: CSV export configuration problem Reply with quote

Yea I export it directly using the USA standard. In fact, all data IS in USA/ English units regardless of country formatting or metric unit mode, for data tracking and computing. I convert on the fly to metric or country specific when I display data fields.

Really, what I just need to do is add a native way within pointblank to edit any particular data field and save it out. There just isnt a real need to use intermediary programs to edit stuff. PointBlank can / should just allow it as a feature within itself.

Plus, SLK files while being one if not the oldest and widest supported database formats, really should be replaced with XML or even the new LUA formats.

Its on the TODO list, right now I'm working on the mobile versions.

-DallanC
Back to top
View user's profile Photo Gallery
lince
Member
Member


Joined: Jul 19, 2006
Posts: 32
Location: Madrid, Spain

PostPosted: Tue Aug 25, 2015 11:04 pm    Post subject: Re: CSV export configuration problem Reply with quote

Hi again.
Workaround found, a little bit tricky but it works, just in case it helps to somebody over there:
1) install a PDF printer in your system and make it default printer for windows (I use doPDF but I suppose some other will work too)
2) Compute your ballistics and go to your table data window
3) Print (it will create a PDF document with correct data and formatting)
4) Open the pdf and export all data to a text file (select all, copy, open notepad, paste and save to a file with .txt extension). All data will be exported with space separators.
5) A tricky step: edit the txt file to delete wichever data you don't need (headings, etc.)
6) Start your spreadsheet and open the txt file, importing the with spaces as separators.

New suggestion to include a feature that will ease this: when you select rows in table data window (also in MOA table and Misc windows) it could be very useful to include the ability to copy the selected data using the right button of the mouse, could it be possible?

Again, thanks to everybody (specially to DallanC) and hope that helps!
Regards from Spain.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index » Bug Reports / Feature Requests
Page 1 of 1
All times are GMT - 7 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Valid CSS! Valid HTML 4.01!
Click to check if this page is realy HTML 4.01 compliant for speed :)

All logos and trademarks in this site are property of HuntingNut.com.
The comments are property of their posters, all the rest © 2011 by HuntingNut.com
Interactive software released under GNU GPL, Code Credits, Privacy Policy

.: Upgraded to DragonFly 9.2 by *Dizfunkshunal* :.