HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


Membership:
Latest: pliers
New Today: 0
New Yesterday: 1
Overall: 12490

People Online:
Members: 0
Visitors: 52
BOT: 4
Total: 56
Who Is Where:
 Visitors:
01: Photo Albums
02: Forums
03: Home
04: Forums
05: Photo Albums
06: Photo Albums
07: Forums
08: Your Account
09: Forums
10: Forums
11: Forums
12: Forums
13: Forums
14: Forums
15: Photo Albums
16: PointBlank Ballistics
17: PointBlank Ballistics
18: PointBlank Ballistics
19: Forums
20: Forums
21: Forums
22: Forums
23: Forums
24: Forums
25: Forums
26: Forums
27: Forums
28: Forums
29: Your Account
30: Your Account
31: Forums
32: Forums
33: Forums
34: Forums
35: Forums
36: Forums
37: Forums
38: Forums
39: Forums
40: Home
41: Forums
42: Forums
43: News
44: Forums
45: Forums
46: Forums
47: Forums
48: Forums
49: Forums
50: Forums
51: Forums
52: Forums
  BOT:
01: Forums
02: Forums
03: Forums
04: Forums

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 304
 Pictures: 2342
  · Views: 306275
  · Votes: 1302
  · Comments: 85
 

Support our Advertisers

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: 3157
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


Advertisements
 


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 :.