Normal Topic changing from number type to text type field (Read 2498 times)
jessborch
Member
*
Offline



Posts: 3
Joined: Oct 24th, 2019
changing from number type to text type field
Jul 22nd, 2022 at 8:30pm
Print Post Print Post  
Good afternoon and happy Friday, all!  Grin

We recently changed a field from a number type to a text type and it added ".00000000" to the end of every number that was previously in the field.

Example of what I mean (also see photo)
Field was "Number" type & displayed: 21095
Field changed to "Text" type & now displays: 21095.00000000

When I change it back to Number and change the decimals to none and no comma, it goes back to 21095 - but every time it is changed to Text it adds the .00000000.

Any idea on how to make this not happen, or a way to do a mass update to remove the .00000000 at the end on a query?

Of course - this field doesn't have the same entry in all of the records, it's unique, so I can't do a general mass update to replace what is in the field.

I tried Googling and searching all the manuals.. but having a lot of trouble.

tyia!  Smiley
  

SesameFields.png ( 4 KB | 39 Downloads )
SesameFields.png
Back to top
 
IP Logged
 
jessborch
Member
*
Offline



Posts: 3
Joined: Oct 24th, 2019
Re: changing from number type to text type field
Reply #1 - Jul 22nd, 2022 at 9:18pm
Print Post Print Post  
I was thinking something like this would work.. but it doesn't? Not sure what I'm missing.

Installer Code = @Replace(Installer Code, ".00000000","")
  
Back to top
 
IP Logged
 
jessborch
Member
*
Offline



Posts: 3
Joined: Oct 24th, 2019
Re: changing from number type to text type field
Reply #2 - Jul 22nd, 2022 at 9:28pm
Print Post Print Post  
Okkkk well NEVERMIND! What I put in the last thread worked. I'll leave it here for others to use if they need to!
  
Back to top
 
IP Logged