Delete record (part)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I hv thousand of records in one field which look like this 2006-10-0001-01.

How to delete - (dash) without changing other number.

Thanks
 
Hi Zyus,

If you are using Access 2000 or later, you can use the built-in Replace
function. Create a new update query. Add the field with this data into the
QBE grid. In the Update To: row, enter:

Replace([FieldName]), "-", "")

where FieldName is the name of the field.

Note: It's always a good idea to make a back-up copy of your database before
running any action query, just in case things don't turn out as expected.


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

I hv thousand of records in one field which look like this 2006-10-0001-01.

How to delete - (dash) without changing other number.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top