access vba course - removing unwanted characters tex
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access vba course - Removing unwanted characters from a text field

access vba course - Removing unwanted characters from a text field

The UK's most regular instructor-led training courses.
Training information: access vba course · Access course microsoft training · Microsoft Access Training uk
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Removing unwanted characters from a text field

Richard has attended:
Access Advanced course

by - delegate Richard [6 posts] (2007 May 30 Wed, 10:18) replyReply

I have been provided a text file that I have imported into Access 2003. The file contains over 190,000 records.

One of the fields is a contact ID, an example of a contact ID is as follows:
{0000001F-0000-0000-0000-000000000000}

I want to remove the { } from every contact ID

I have been playing around with the Left and Right commands but cannot get it to work.

When the first { is removed I do not want it replaced with a space, but instead the entire contact id is to move one space to the left.

The right } just needs to be removed.

Can you please advise me on the best way of achieving this?

Thank you

Richard

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Nov 25 Tue Bloomsbury 4 book now £207 £215
2002/XP 2008 Nov 26 Wed Tooting 0 FULL    
2003 2008 Dec 2 Tue Southwark 5 book now £198 £215
2007 2008 Dec 5 Fri Bloomsbury 4 book now £224 £224
2003 2008 Dec 9 Tue Bloomsbury 0 FULL    
2002/XP 2008 Dec 11 Thu Tooting 0 FULL    
Full Schedule: See all 55 Access Intermediate course dates.
Bookings currently available until 24th November 2009.

RE: Removing unwanted characters from a text field

by - trainer Richard platinum contributer[818 posts] (2007 Jun 1 Fri, 10:05) replyReply

You can use Find and Replace to do this.

-Open the table
-Open Find and Replace (Ctrl+H)
-enter { in the find box
-leave the replace box empty
-under LOOK IN select the field you want to look in
-under MATCH choose Any part of field

Let me know if that works

Regards
Richard


Related articles

· How To Find Good Access Database Courses In London
· Tips for designing databases in Microsoft Access
· Microsoft Access Training Unleashes the Power of the Pivot Table
· Microsoft Access as a Business's Database Management System
· Quick Access Course: Creating a Customer Contact Database in 8 Simple Steps

Access tip:

Compact database automoatically

To ensure optimal performance, you should compact and repair your

Open the Access database or Access project that you want Access to compact automatically.
On the Tools menu, click Options.
Click the General tab.
Select the Compact on Close check box.

View all Access hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz