473,504 Members | 13,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

eliminating blank spaces

In my table I imported from .txt, one of my columns has blank spaces.

The column is as follows, how do I eliminate the blank spaces in between the
second and third, and fifth and sixth digits?

12 345 6789
78 241 5869
04 258 3695
14 254 1136
00 045 0285

My whole column is formatted this way.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200705/1

May 11 '07 #1
3 3763
On May 11, 1:03 pm, "ShaeMills via AccessMonster.com" <u33729@uwe>
wrote:
In my table I imported from .txt, one of my columns has blank spaces.

The column is as follows, how do I eliminate the blank spaces in between the
second and third, and fifth and sixth digits?

12 345 6789
78 241 5869
04 258 3695
14 254 1136
00 045 0285

My whole column is formatted this way.

--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...
**TRY THIS ON A COPY OF YOUR TABLE FIRST!!**
Highlight the column that contains your data with spaces. In the Edit
menu, choose Replace. For the "Find What", enter a space. Leave the
"Replace With" field blank. Make sure the "Match Whole Field" is NOT
checked, and the "Search Only Current Field" IS checked. Click the
"Replace All" button, and voila!

HTH,
Jana

May 11 '07 #2
Jana, Thanx it worked... r, Shae

Jana wrote:
>On May 11, 1:03 pm, "ShaeMills via AccessMonster.com" <u33729@uwe>
wrote:
>In my table I imported from .txt, one of my columns has blank spaces.
[quoted text clipped - 11 lines]
>--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...

**TRY THIS ON A COPY OF YOUR TABLE FIRST!!**
Highlight the column that contains your data with spaces. In the Edit
menu, choose Replace. For the "Find What", enter a space. Leave the
"Replace With" field blank. Make sure the "Match Whole Field" is NOT
checked, and the "Search Only Current Field" IS checked. Click the
"Replace All" button, and voila!

HTH,
Jana
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200705/1

May 11 '07 #3
On May 11, 1:51 pm, "ShaeMills via AccessMonster.com" <u33729@uwe>
wrote:
Jana, Thanx it worked... r, Shae

Jana wrote:
On May 11, 1:03 pm, "ShaeMills via AccessMonster.com" <u33729@uwe>
wrote:
In my table I imported from .txt, one of my columns has blank spaces.
[quoted text clipped - 11 lines]
--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...
**TRY THIS ON A COPY OF YOUR TABLE FIRST!!**
Highlight the column that contains your data with spaces. In the Edit
menu, choose Replace. For the "Find What", enter a space. Leave the
"Replace With" field blank. Make sure the "Match Whole Field" is NOT
checked, and the "Search Only Current Field" IS checked. Click the
"Replace All" button, and voila!
HTH,
Jana

--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...- Hide quoted text -

- Show quoted text -
Shae:
Glad I could help!

Jana

May 11 '07 #4

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

Similar topics

9
6671
by: Jean-Marc Molina | last post by:
Hello, I can't find a way to execute a Windows application, whose directory path contains blank spaces, from a PHP script. I also wonder if the problem happens under Linux and other OS. ...
6
4262
by: Ruben | last post by:
Hello. I am trying to read a small text file using the readline statement. I can only read the first 2 records from the file. It stops at the blank lines or at lines with only spaces. I have a...
5
48268
by: mark | last post by:
how to print, say 50 blank spaces, or say 20 blank spaces ? I wanted use such blank spaces that can be output in a program at predetermined places when printing with "cout".
5
1833
by: MX1 | last post by:
Hi, I have a report with Name1 and Name2 in the address section . Sometimes, Name2 is not populated with data via the query that feeds the report. Unfortunately, the blank line stays in the...
1
4049
by: Danny | last post by:
Given this: "*" the pattern to remove the htnl code between brackets, how can I remove a series of spaces and just make one space. like here is a series of blank...
2
2695
by: Nimmy | last post by:
Hi, How can I print blank spaces with printf() I want something like printf("%6d %2d", lcVar1, lcVarb); Printout should be: 123123 34 12 spaces in between 123123 and 34 and 15...
1
7393
by: Laser Lu | last post by:
Hi, all, I'm now writing a program to compress JavaScript code. One puzzle is how to write a regular expression to find out and remove all the redundent blank spaces. However, those blank spaces...
0
1363
by: SimonDev | last post by:
Hi I've got an unusual problem I'm hoping someone could advise me on, regarding the formatting of the body of an HTTP response from a web service. We are using HTTP POST rather than SOAP for...
1
3298
by: maryanncanor | last post by:
Hi everyone, My problem is whenever I export a report to a textfile. The output textfile have blank spaces. Here is my query: SELECT ( & '|' & & '|'...
0
7213
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
7098
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
7298
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
7366
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...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5026
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
4698
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
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.