Connecting Tech Pros Worldwide Help | Site Map

Text to Columns in Access

  #1  
Old November 12th, 2005, 05:22 PM
jeffgeorge
Guest
 
Posts: n/a
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.
  #2  
Old November 12th, 2005, 05:22 PM
Phil Stanton
Guest
 
Posts: n/a

re: Text to Columns in Access


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" <kilgore93@aol.com> wrote in message
news:4fbcf414.0312041356.5e9f494b@posting.google.c om...[color=blue]
> 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.[/color]


  #3  
Old November 12th, 2005, 05:24 PM
jeffgeorge
Guest
 
Posts: n/a

re: Text to Columns in Access


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" <discussion@stantonfamily.co.uk> wrote in message news:<3fcfaed5$0$99368$65c69314@mercury.nildram.ne t>...[color=blue]
> 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" <kilgore93@aol.com> wrote in message
> news:4fbcf414.0312041356.5e9f494b@posting.google.c om...[color=green]
> > 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.[/color][/color]
  #4  
Old November 12th, 2005, 05:24 PM
jeffgeorge
Guest
 
Posts: n/a

re: Text to Columns in Access


Excellent Phil. Entered my expressions and columns are seperated. gracias.



"Phil Stanton" <discussion@stantonfamily.co.uk> wrote in message news:<3fcfaed5$0$99368$65c69314@mercury.nildram.ne t>...[color=blue]
> 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" <kilgore93@aol.com> wrote in message
> news:4fbcf414.0312041356.5e9f494b@posting.google.c om...[color=green]
> > 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.[/color][/color]
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
split a column into 2 columns in access Dscar answers 2 May 17th, 2007 05:01 PM
Text files content handling in Access 2003 Jamad answers 1 October 11th, 2006 04:50 PM
ListView columns in detail mode Rob Richardson answers 3 November 20th, 2005 01:42 PM
yes/no in Access middletree answers 15 July 19th, 2005 09:31 AM