473,387 Members | 1,569 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.

Text to Columns in Access

Trying to split a column in Access with all fields having the format:

COLUMN:[NUMBER(fixed length) NAME(varying length)]

I see in Excel they have a Text to Columns function which creates two
columns which seperate the NUMBER and NAME. Does Access have this
functionality. Can kick it out to Excel but I'm over the 65,000 rows
and would have to split, etc.
Nov 12 '05 #1
3 13324
Try
Number: Left(Column,5) assuming this is a 5 digit ficed length
number with leading zeros
Name :Right(Column,Len(Column)-5)
Phil

"jeffgeorge" <ki*******@aol.com> wrote in message
news:4f**************************@posting.google.c om...
Trying to split a column in Access with all fields having the format:

COLUMN:[NUMBER(fixed length) NAME(varying length)]

I see in Excel they have a Text to Columns function which creates two
columns which seperate the NUMBER and NAME. Does Access have this
functionality. Can kick it out to Excel but I'm over the 65,000 rows
and would have to split, etc.

Nov 12 '05 #2
Thanks Phil. The column looks like this 1000258 SmithCorp. The
numbers are always the same length but the names vary in size and
sometimes have spaces. I think the format of how I posted made it
confusing and don't know if I can get to the solution from your post.
I will try to create two new columns using your post as a guide.

"Phil Stanton" <di********@stantonfamily.co.uk> wrote in message news:<3f***********************@mercury.nildram.ne t>...
Try
Number: Left(Column,5) assuming this is a 5 digit ficed length
number with leading zeros
Name :Right(Column,Len(Column)-5)
Phil

"jeffgeorge" <ki*******@aol.com> wrote in message
news:4f**************************@posting.google.c om...
Trying to split a column in Access with all fields having the format:

COLUMN:[NUMBER(fixed length) NAME(varying length)]

I see in Excel they have a Text to Columns function which creates two
columns which seperate the NUMBER and NAME. Does Access have this
functionality. Can kick it out to Excel but I'm over the 65,000 rows
and would have to split, etc.

Nov 12 '05 #3
Excellent Phil. Entered my expressions and columns are seperated. gracias.

"Phil Stanton" <di********@stantonfamily.co.uk> wrote in message news:<3f***********************@mercury.nildram.ne t>...
Try
Number: Left(Column,5) assuming this is a 5 digit ficed length
number with leading zeros
Name :Right(Column,Len(Column)-5)
Phil

"jeffgeorge" <ki*******@aol.com> wrote in message
news:4f**************************@posting.google.c om...
Trying to split a column in Access with all fields having the format:

COLUMN:[NUMBER(fixed length) NAME(varying length)]

I see in Excel they have a Text to Columns function which creates two
columns which seperate the NUMBER and NAME. Does Access have this
functionality. Can kick it out to Excel but I'm over the 65,000 rows
and would have to split, etc.

Nov 12 '05 #4

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

Similar topics

1
by: Norm & Debbie | last post by:
Good morning group. When I translate a text document into access, the data does not align exactly into the fields. It may be spread over three different fields. Two questions; How do I keep...
0
by: Penguin | last post by:
Using Access 97, I've created a grading sheet. To save space, the subjects are in vertical columns on a sub-report, like so: Math Spelling Reading N C T A A E U A I ...
8
by: ShyGuy | last post by:
Is it possible to use code to enter some text into a combo box and then have the cursor placed at the end of the text for more imput?
7
by: mpdsal | last post by:
Hello. I have some very large text files that I need to import into Access. These files are basically SAP system reports that can be up to 100,000 records but they contain a boatload of data I...
4
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
1
by: jeguillo | last post by:
I am trying to retrieve the text within each cell in a datagrid in order to change the color of each cell, depending on the value within that cell. This works fine on the cells that are bound...
1
by: Jamad | last post by:
I want to extract some information in a text file that is not tab, comma and space separated. The format of the text file is actually unknown. The problem now is, i want to extract like three lines...
1
by: ASPnewb1 | last post by:
this is used when the Updating Row is fired the first line works in grabbing the text from the textbox of the cell, but I cannot access the column header text, as it's telling me the columns do...
0
by: JamesOo | last post by:
I have the code below, but I need to make it searchable in query table, below code only allowed seach the table which in show mdb only. (i.e. have 3 table, but only can search either one only,...
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: 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...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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
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...

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.