Re: Separating Fields in Access

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Open the table in design view and add the two new fields.
Then create an update query that will update both fields
For Number it would be:
Left(TrackingNumber,6)
For Indicator it would be:
Right(TrackingNumber,1)
Open the table in design view and delete the original TrackingNumber field.
--
Dave Hargis, Microsoft Access MVP


"Hendrix10@xxxxxxxxx" wrote:

On Oct 16, 1:08 pm, fredg <fgutk...@xxxxxxxxxxxxxxx> wrote:
On Tue, 16 Oct 2007 16:57:52 -0000, Hendri...@xxxxxxxxx wrote:
I have a table that I imported into Access. I would like to separate
on of the fields into to two separate fields. The field that I want to
separate is a total of 7 characters and i would like to break it up
into one field of 6 and another of 1. Is this possible? If so, how is
it done?

H

How are we to know which of the 7 characters goes where?
You might start by giving us an example or two of what the data looks
like and what result you would like to see.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail



The original field is "traking number" and the data in the field
looks like 123456A.
I would like the "Traking Number" to be broken up into two fields
"Number" (which would be 123456) and "Identifier" (which would be A).


Hendrix


.



Relevant Pages

  • Re: TV Science Shows
    ... Just think of all the manufacturing tallent, knowledge, experience that is being replaced by "the 'let-the-Chinese' do all the dirty work" mindset. ... The cancellation of the program and whether the plane would ever have met its design specs remains controversial in Canada to this day. ... I quit watching entirely soon after David Tennant took over as I thought the plots were either completely silly or recycled from earlier episodes. ... I fail to see why it's popular, as the plots are often hokey and most of the characters annoying and downright irritating. ...
    (sci.research.careers)
  • Re: "Starship Operators" disk 1: tech review
    ... My complaints are about how it looked. ... characters as cell animation and the spaceships as CGI. ... The battle scenes look lousy. ... Eh, this wasn't character design, it was costume design. ...
    (rec.arts.startrek.tech)
  • Re: OE v.6 - MIME/Quoted Printable?
    ... "MIME/Quoted Printable design issue". ... found "OE-QuoteFix", ... characters when I hit "Reply Group". ... The C++ author of OE-QF also says that the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: find/replace characters like quotes
    ... {"this is a text and the special characters at the beginning and at the end ... "John Spencer" wrote: ... Then all you need to do is run an update query that looks like the following ... Set rst =.OpenRecordset ...
    (microsoft.public.access.queries)
  • Re: OE v.6 - MIME/Quoted Printable?
    ... And I hope I haven't missed a FAQ somewhere ... "MIME/Quoted Printable design issue". ... characters when I hit "Reply Group". ... my OE news font set to 14 pt. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)