473,499 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Import delimited file won't import space value

I am importing a pipe delimited text file into MS Access 2002. The
text file contains | | aka |space|

The resulting table when imported converts the space to a null value.
Any suggestions on how to import the literal space value (vs the null
converted value)?

Any help would be greatly appreciated. Thanks!

May 22 '06 #1
3 3243
Could you perform the import first, then do an update to the table
where null is changed into the value you want?

May 22 '06 #2
Yeah, thought about that, just cleaner if I could avoid it. Thanks for
the ideas (was hoping it was just a parameter I could set :)

May 22 '06 #3
On 22 May 2006 07:41:13 -0700, br**********@gmail.com wrote:

If this is a one time shot, try opening the text file in a word processor first
and replacing all | | with |" "| and re-save the file. Then import. Quote
space quote is not a null value.

If this is an on going event, write an update query to replace null values with
" " after the file is imported. Obviously, don't trim leading and trailing
spaces.

Chuck --
I am importing a pipe delimited text file into MS Access 2002. The
text file contains | | aka |space|

The resulting table when imported converts the space to a null value.
Any suggestions on how to import the literal space value (vs the null
converted value)?

Any help would be greatly appreciated. Thanks!


May 23 '06 #4

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

Similar topics

1
8157
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having strange problems with the import of the date and time...
18
1456
by: Paul H | last post by:
I have a CSV file that is tab delimited and has no text qualifiers. Normally this would be OK, but the data has tabs in it as well! Is there anyway I can get this data into access? Here is what...
1
458
by: bradjensmith | last post by:
I am importing a pipe delimited text file into MS Access 2002. The text file contains | | aka |space| The resulting table when imported converts the space to a null value. Any suggestions on...
2
10336
by: Jacob.Bruxer | last post by:
Hi everyone, I'm having trouble opening space delimited textfiles in Excel from Visual Basic.net. I'm able to control, open and modify Excel files from Visual Basic, so my Excel reference seems...
2
4512
by: lwhite | last post by:
MS SQL 2000 sp4 on WinXp Pro SP2 I am very new to this so please let me know what I can do to make it easier for you to understand the problem. I have a non delimited text file. This text...
7
12238
by: Pete | last post by:
I need to import multiple tab delimited files for which I do not have the formats. All files have column headers in the the line. The files must be dynamic. The only common value is that the...
5
2336
by: csocean | last post by:
Hey guys, I can't figure this out... it probably isn't as hard as I'm making it...! I've got a space-delimited .txt file, with three columns. All I want to do is import the data as a three...
5
7149
Eonasdan
by: Eonasdan | last post by:
Greetings! I hope some can help with out with this. I am trying to write a scripting using bcp to import large amounts of data from a text file that is tab delimited. The problems I have run into is...
6
26277
by: provor | last post by:
Hello, I have the following code that I am using when a user presses a button to import an excel file into a table. The code is hard coded to point to the correct table. This works great for this...
7
3319
by: kimmelsd33 | last post by:
I am using VB6. I want to read a tab delimited file, and assign each column value into a variable. If the variable is "-999.25", I want to make it a "0". I then want to reassemble the values, and...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7012
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...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.