CSV files
-
Topic author - Site Admin
- Posts in topic: 2
- Posts: 17787
- Joined: Wed Dec 22, 2004 9:31 pm
- Location: Friendswood, TX
- Contact:
CSV files
I am looking at feature to add to www.TexasShooting.com to allow people to register on-line for the TexasCHLforum Day at PSC and other events. The data will go into a MySQL database on the server, then it can be exported into a CSV file.
Does anyone know how I take the CSV file and import it into software that will allow me to create a useful report? I presume I could just import it into an Excel spreadsheet or perhaps an Access database. I thought about trying to write something to query the MySQL database directly, but I really don't want to mess with the database.
Thanks,
Chas.
Does anyone know how I take the CSV file and import it into software that will allow me to create a useful report? I presume I could just import it into an Excel spreadsheet or perhaps an Access database. I thought about trying to write something to query the MySQL database directly, but I really don't want to mess with the database.
Thanks,
Chas.
Re: CSV files
Charles,
A .csv file is easily importable into either Access or Execl. It is just flat text file that has each entry separated by a comma.
If you need more assistance, just drop me a PM and I can call you.
Regards,
A .csv file is easily importable into either Access or Execl. It is just flat text file that has each entry separated by a comma.
If you need more assistance, just drop me a PM and I can call you.
Regards,
Keith
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
-
- Senior Member
- Posts in topic: 1
- Posts: 766
- Joined: Fri Jun 01, 2007 11:27 am
- Location: Plano
- Contact:
Re: CSV files
To add to what Keith said, Excel is usually registered as the default program for opening files with a CSV extension, so it may be as simple as double-clicking on the file.
Re: CSV files
Lots of computer guys here.
If you want more advice on the server backend side of things, do post. I'm a PHP/MySQL developer and if nobody else knows the answer, I probably will.

-
Topic author - Site Admin
- Posts in topic: 2
- Posts: 17787
- Joined: Wed Dec 22, 2004 9:31 pm
- Location: Friendswood, TX
- Contact:
Re: CSV files
Thanks guys. I looked at Excel and found the import function. However, it didn't show a csv file as an option.
Could I create a master report in Excel for each event, then import the data from the csv file? Or do I have to import the csv file, then do the formatting like column headings, etc.?
Chas.
Could I create a master report in Excel for each event, then import the data from the csv file? Or do I have to import the csv file, then do the formatting like column headings, etc.?
Chas.
Re: CSV files
Charles L. Cotton wrote:Thanks guys. I looked at Excel and found the import function. However, it didn't show a csv file as an option.
Could I create a master report in Excel for each event, then import the data from the csv file? Or do I have to import the csv file, then do the formatting like column headings, etc.?
Chas.
Easiest is just to open the file vs. import.
Start Excel, choose File, Open, then in the box below the filename that says Files of Types, choose the Text file option and find the file on your computer. It should open right up as it knows how to delimit the file with he commas, and should be pretty well formatted. Add headings if they were not part of the .csv file to begin with. Save as a .xls file and you are there!!!
Keith
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
Texas LTC Instructor, Missouri CCW Instructor, NRA Certified Pistol, Rifle, Shotgun Instructor and RSO, NRA Life Member
Psalm 82:3-4
-
- Senior Member
- Posts in topic: 1
- Posts: 1886
- Joined: Mon Mar 28, 2005 10:11 am
- Location: Leander, TX
- Contact:
Re: CSV files
You can do any of the above. You can export from a database to a CSV file. You can just open it in Excel. You can load the CSV file directly into a database if you would rather as well. Although I suggest using tabs as the delimiter instead of commas.Charles L. Cotton wrote:Thanks guys. I looked at Excel and found the import function. However, it didn't show a csv file as an option.
Could I create a master report in Excel for each event, then import the data from the csv file? Or do I have to import the csv file, then do the formatting like column headings, etc.?
Chas.
Yeah, I do this all the time. Automate it even.
-
- Moderator
- Posts in topic: 1
- Posts: 6458
- Joined: Fri Oct 20, 2006 4:50 pm
- Location: Outskirts of Houston
Re: CSV files
Kalrog wrote:Although I suggest using tabs as the delimiter instead of commas.

And if you pull the CSV file into Excel, you now have a dirt-simple way to use Word's mail merge functions to help automate email, mailing labels, or even name tags for the event.

Join the NRA or upgrade your membership today. Support the Texas Firearms Coalition and subscribe to the Podcast.
I’ve contacted my State Rep, Gary Elkins, about co-sponsoring HB560. Have you contacted your Rep?
NRA Benefactor Life Member
I’ve contacted my State Rep, Gary Elkins, about co-sponsoring HB560. Have you contacted your Rep?
NRA Benefactor Life Member