| View previous topic :: View next topic |
| Author |
Message |
jamescullen Newbie

Joined: 09 May 2012 Posts: 1
|
Posted: Wed May 09, 2012 5:37 am Post subject: Importing .csv file into Base |
|
|
| I have a simple database (in MS Worls 9) and want to convert it to Base. I have produced a csv file from the Works database, and captured it in Calc without any problem. When I attempt to copy this into the table I have produced for the file in Base it attempts to put the whole database into the first field of the first record, which, of course, doesn't work. What am I doing wrong? |
|
| Back to top |
|
 |
Billyray OOo Enthusiast


Joined: 06 Mar 2007 Posts: 144 Location: Lake Erie's Shore in Ohio
|
Posted: Wed May 09, 2012 10:55 am Post subject: |
|
|
You need to match the number of fields (and their type) that you have in Calc, to a new table structure in BASE. Good luck! It's agony importing into BASE.  _________________ Billyray
using:
Linux distro: Ubuntu 10.04 LTS, Lucid Lynx, OOo Base 3.3, connected to MySql database using Java jdbc (note: ONLY sun-java-6-1.6.0_22 jre works right), and converted from MS Access 2003. |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8995 Location: Lexinton, Kentucky, USA
|
Posted: Wed May 09, 2012 11:29 am Post subject: |
|
|
| You can do File > New > Database, put the bullet in Connect to Existing Database. Under that select Spreadsheet, click Next and browse to your spreadsheet. |
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
Posted: Wed May 09, 2012 12:32 pm Post subject: |
|
|
| Billyray wrote: | | You need to match the number of fields (and their type) that you have in Calc, to a new table structure in BASE. Good luck! It's agony importing into BASE. :cry: |
Bullshit. This is as easy as can be.
You have those data in Calc with dates as dates and numbers as numbers and text fields as text.
Then you have prepared your database table which is the best you can do before the import.
All you have to do now is:
Select the cell range and drag it over into the database window and drop it onto the table icon. _________________ Rest in peace, oooforum.org
Get help on http://forum.openoffice.org |
|
| Back to top |
|
 |
|