delete function

  • Thread starter Thread starter John
  • Start date Start date
J

John

I have a field with EID:12345678 in it I'd like to take out the EID: in all
rows. I know I did this years ago but forgot how. Could someone please help.
Thanks.
 
I have a field with EID:12345678 in it I'd like to take out the EID: in all
rows. I know I did this years ago but forgot how. Could someone please help.
Thanks.

Permanently?
Back up your table first.
Run an update query.

Update YourTable Set YourTable.FieldName = Mid([Fieldname],5) Where
Left(FieldName,4) = "EID:";
 
I have a field with EID:12345678 in it I'd like to take out the EID: in all
rows. I know I did this years ago but forgot how. Could someone please help.
Thanks.

Permanently?
Back up your table first.
Run an update query.

Update YourTable Set YourTable.FieldName = Mid([Fieldname],5) Where
Left(FieldName,4) = "EID:";

I meant to add...
You can also use the replace function:

Update YourTable Set YourTable.FieldName =
Replace([Fieldname],"EID:","");
 

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