getDataValue with numerics
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
getDataValue with numerics
Is there a way to keep leading zeroes when using getDataValue to retrieve the value of a numeric field from a grid?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: getDataValue with numerics
getDataValue just returns the value, it does not reformat it. If you're getting the value without leading zeroes, then there's nothing you can do with getDataValue() to change that.
You could, however, pass the output to pui.editCode or pui.editWord to reformat the number.
http://www.profoundlogic.com/docs/pages ... d=36044939
http://www.profoundlogic.com/docs/pages ... d=36044987
You could, however, pass the output to pui.editCode or pui.editWord to reformat the number.
http://www.profoundlogic.com/docs/pages ... d=36044939
http://www.profoundlogic.com/docs/pages ... d=36044987
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
Re: getDataValue with numerics
Thanks Scott! That should work for me!
Who is online
Users browsing this forum: No registered users and 17 guests