473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CSV importing problems

Hi can any anyone help.

I have a CSV file which has been exported from filemaker pro4.

After exporting the file was fine I opened up excel & that actually removed
text from some of the fields. So I imported the CSV into access.

After the import I am getting the Carrige returns appearing as squares & the
only way I have been able to remove them is open the csv in word &
find&replace the carrige returns with a space.

here is an example
Product code - 120973,
Weblevel - The Big Catalogue - Bulk Buyers Products|power
tools,
Product_Short_Disc - JCB Rotary Mower JCB-EM33-1000,
Product Long Disc - Rotary Mower. Features include: - 1000 W. - 33cm. ,
Weight - ,
Price - 7999

120973,The Big Catalogue - Bulk Buyers Products|power tools,JCB Rotary Mower
JCB-EM33-1000,Rotary Mower. Features include: - 1000 W. - 33cm. ,,7999

What id like to do is create my access database click a button which will
remove the squares & replace with carrige returns then link directly into
the access database I want to update.

Any components I'd need to use.. I am using VB 6 enterprise edition at work
so.....

Many thanks

Dave

Dave
Jul 17 '05 #1
1 3138
What format did you export the file in?
You may have used tab delimited, try using comma delimited fields. This
produces
a file like "texte1","text2",number1, "text3",number3,...
It will also append a CR / LF for a new line.

I have used this format many times to export/import from Excel/Access so
that
VB programs can import/export data.

HTH
Geoff Turner
----------------------------------------------------------------------------
---------------
"David Shorthouse" <ab***@globalnet.co.uk> wrote in message
news:e7********************@brightview.com...
Hi can any anyone help.

I have a CSV file which has been exported from filemaker pro4.

After exporting the file was fine I opened up excel & that actually removed text from some of the fields. So I imported the CSV into access.

After the import I am getting the Carrige returns appearing as squares & the only way I have been able to remove them is open the csv in word &
find&replace the carrige returns with a space.

here is an example
Product code - 120973,
Weblevel - The Big Catalogue - Bulk Buyers Products|power
tools,
Product_Short_Disc - JCB Rotary Mower JCB-EM33-1000,
Product Long Disc - Rotary Mower. Features include: - 1000 W. - 33cm. ,
Weight - ,
Price - 7999

120973,The Big Catalogue - Bulk Buyers Products|power tools,JCB Rotary Mower JCB-EM33-1000,Rotary Mower. Features include: - 1000 W. - 33cm. ,,7999

What id like to do is create my access database click a button which will
remove the squares & replace with carrige returns then link directly into
the access database I want to update.

Any components I'd need to use.. I am using VB 6 enterprise edition at work so.....

Many thanks

Dave

Dave

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: steve | last post by:
Hi, I have researched but have not found a good solution to this problem. I am importing large amounts of data (over 50 Meg) into a new mysql db that I set up. I use >mysql dbname <...
4
by: Little PussyCat | last post by:
Hello, I nee to write something that will transfer excel data into an SQL Server table. I have for another database application I wrote have it importing Excel spreadsheet data using cell by...
2
by: chudson007 | last post by:
I have a .txt file that I need to add to an existing table, which is made up of Varchar, Char, numeric and int fields. What is the best way to do it. The first thing I tried was importing the...
1
by: Alexander Pope | last post by:
Is there some some standard for this type of database issue? We have an internet application. db2 aix v8.1. was5.0. Our customers want to be able to "upload" or "import" data into our database....
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
3
by: Mark | last post by:
All, As you can see below, I have had problems with inquisitive souls looking at data they shouldn't be. I though disabling the ability to create new databases using my workgroup would stop this...
5
by: dixie | last post by:
If I sent a user an empty database container - dB with no tables and I needed them to import their tables into it and one of their tables was a hidden table with the prefix Usys, is there any way...
1
by: em | last post by:
Hi all, I'm getting some problems importing a DLL that I made in C# within VB6.0. The C# is quite easy, just for trying: namespace TestDll { public class Class1
14
by: T. Crane | last post by:
Hi, When troubleshooting code that's saved in a text file, I often find that I want to make a change to it, re-save it, then reimport it. However, just typing import myTestCode doesn't...
3
by: scoots987 | last post by:
What do others do if you need to import excel files into SQL Server? My main problems are 1) zipcode formatting issues. If the column is a mix of zip and zip+4, I have problems retrieving all...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.