Jump to content
beckham

is it possible to convert "-" to "_"

Recommended Posts

Hi Guys my database as 50,000 records and 1 field as the following formatting (7numbers-2numbers-5numbers) "1234567-01-12345" and i would like to change all the "-" to "_" without effecting the numbers, is this possible? if so then i would like to make all future entries use the underscores automatically in place of hyphens?

Thanks for any help..

Share this post


Link to post
Share on other sites

Make a backup first:

do a replace on your field:  Substitute ( your::field ; "-" ; "_" )   will replace existing data. 

in the auto entry field you can use:  Substitute ( self ; "-" ; "_" )  

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.