A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Splitting Field



 
 
Thread Tools Display Modes
  #1  
Old December 11th, 2005, 04:26 PM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default Splitting Field

I have a db that has over 220k entries. My problem is that I one field is
very long called SKU descr. Ity has 8 numbers a space and anywhere form 20 to
30 characters after. Is it possible to split this field in 2 and call the
numbers SKU ID and have the rest of the text stay in SKU description.

Thank you,

Chris
  #2  
Old December 11th, 2005, 04:43 PM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default Splitting Field

To get the first 8 characters, use the Left function. To get whatever starts
at position 10 and goes to the end, use the Mid function:

Left(CompleteString, 8) and Mid(CompleteString, 10)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Diggsy" wrote in message
...
I have a db that has over 220k entries. My problem is that I one field is
very long called SKU descr. Ity has 8 numbers a space and anywhere form 20
to
30 characters after. Is it possible to split this field in 2 and call the
numbers SKU ID and have the rest of the text stay in SKU description.

Thank you,

Chris



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form, Subform, Tab key 2nd_Stage_User Using Forms 17 August 25th, 2006 12:30 AM
Enter text in a field and have it appear as entered elsewhere Gregory Winters General Discussion 6 November 1st, 2005 02:09 AM
Splitting Text Field sfcwarren Running & Setting Up Queries 1 March 7th, 2005 06:22 PM
Splitting a field David# Running & Setting Up Queries 2 February 28th, 2005 03:19 PM
field manipulation Steve Running & Setting Up Queries 2 May 28th, 2004 03:12 PM


All times are GMT +1. The time now is 09:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.