Skip to main content
Solved

Universal 2022.2.4 not displaying data properly

  • November 21, 2022
  • 4 replies
  • 104 views

Forum|alt.badge.img

Hi all,

we are having the following issues in Universal:

  • where the data is not displaying properly.
  • and Universal is changing the data. 

See attachments

Anyone know what causes these issues? 
Datatype is bigint

Best answer by Mark Jongeling

Hi Zachery,

I asked a Universal GUI developer about this, and this sadly is a limitation of JavaScript and also browsers. JavaScript supports 16 digits as number whilst SQL Server can support up to 19 digits. This causes the last 3 digits to not show properly.

In the far distant future (soon™), this may be fixed but this is certainly not easy to be implemented.

Only workaround is to not show more than 16 digits, or to make it a text field and double check its input/value to be numeric. In our upcoming 2023.1 release, you'll be able to create an Input constraint on it that can check the value automatically.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi @Zachery,

Can you confirm you are using the 2022.2.14 version of the Universal GUI as there is no 2022.2.4 version? Also the attachment image is not properly visible to me and most likely others too. Could you place the image inline inside your next reply? Thanks!

Have you tried the latest version of the Universal GUI? More on it here: https://community.thinkwisesoftware.com/product-updates?filters%5BproductArea%5D%5B0%5D=Universal%20GUI

Is [tag_option] a view or a table? In case it is a View, it should have a functioning Instead-of-trigger to process the entered data.


Forum|alt.badge.img
  • Author
  • Apprentice
  • 6 replies
  • November 22, 2022

Hi @Mark Jongeling,

Yes, we are using the 2022.2.14. Sorry for the typo. [tag_option] is a table. Have you looked at the screen recording in the zip file? 

Here’s the image. 



 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • Answer
  • November 22, 2022

Hi Zachery,

I asked a Universal GUI developer about this, and this sadly is a limitation of JavaScript and also browsers. JavaScript supports 16 digits as number whilst SQL Server can support up to 19 digits. This causes the last 3 digits to not show properly.

In the far distant future (soon™), this may be fixed but this is certainly not easy to be implemented.

Only workaround is to not show more than 16 digits, or to make it a text field and double check its input/value to be numeric. In our upcoming 2023.1 release, you'll be able to create an Input constraint on it that can check the value automatically.


Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • November 22, 2022

Feel free to report a TCP ticket for this. In the meantime I would suggest you to convert the number to a varchar.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings