Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting specific text within a field in a query 1

Status
Not open for further replies.

Triacona

Technical User
Jun 11, 2009
462
0
0
GB
Dear all,

I have a Table: sheet 1.
I have a Query: List of templates

I have entries in the first field in the table i want to remove.
The first field: Description is the field in question.

In the begining of the field I have 2 characters which I do not want there.

I want to remove within every field the first two characters...

How would I do this in a query?

Any help would be greatly appreciated [bigsmile]

Kind regards

Triacona
 
SELECT Mid([Description],3) AS NewDescription

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Brilliant!!
Thank you!!![2thumbsup]
I setup a new field in the Query
Code:
NewDesc: Mid([Description],3)
Kind regards
Triacona
 
Just to check an outside possibility: That isn't actually removing anything or altering the data if that is what you want.

If your data was
aawarthog

and you want to change the actual data in the database and remove the aa to make it
warthog

you would need to do something else.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top