| View previous topic :: View next topic |
| Author |
Message |
bmcswain General User

Joined: 23 Feb 2007 Posts: 11
|
Posted: Sat Feb 24, 2007 3:33 pm Post subject: |
|
|
Let me say "Thank You" again for all that responded and even those that thought about responding.
The power of this medium is the collection of us out here. We can help each of us to move forward.
I have finished my project. The data is refined and purified and usable by anyone with a spreadsheet.
Thanks!
Bob _________________ Bob |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2474 Location: 3rd Rock From The Sun
|
Posted: Sat Feb 24, 2007 5:09 pm Post subject: |
|
|
Bob:
Just FYI ( For Your Information ) and for anyone else reading this . . . another method to create a CSV ( Comma Separated Value ) file from the contents of a Base table is:
- Open your OpenOffice Base database file
- From the Menu: Tools -> SQL...
- In the Command to execute box, enter your SQL with one change . . . add a line BEFORE the "FROM clause"
INTO TEXT "precinct_ 69_2007-02-23"
so that the 'output' will be placed in the named file with a CSV extension, in the same directory as your ODB file . . . in this case file name . . . precinct_69_2007-02-23.csv
| Code: | SELECT DISTINCT
"Name: Last,First,Middle",
"Res Addr: Full",
"Res Addr: City,State,Zip"
INTO TEXT "precinct_69_2007-02-23"
FROM "Precinct 69" |
Press Execute button
Press Close button
I hope this helps . . . and . . . best of success.
Sliderule |
|
| Back to top |
|
 |
bmcswain General User

Joined: 23 Feb 2007 Posts: 11
|
Posted: Tue Feb 27, 2007 7:30 pm Post subject: |
|
|
OK... Just to finish the thread...
My last task was to split the house number from the street name.
Way simple ... compared to the previous step.
Download CSVed and it's done.
Under one of the split techniques, you can split at a certain character. Since house numbers can be 2, 3, 4 or 5+ numbers, CSVed allows you to split it following the " " (blank) after the number.
Simple.
But not if you had not helped me.
Thanks to the online community. _________________ Bob |
|
| Back to top |
|
 |
|