Page 1 of 1

Textbox format for display sql

Posted: Tue Oct 04, 2022 4:10 pm
by acroporax
Hi,

I have a display object and I am getting data with sql. but I can't format the output. How can i format numbers.

Result :10285760.0000
I want : 10.285.760

Re: Textbox format for display sql

Posted: Tue Oct 04, 2022 5:04 pm
by kev1n
Give this a go:

Code: Select all

SELECT SUBSTRING_INDEX(FORMAT ('10285760.0000', 3),'.',1);
Of course, replace '10285760.0000' with your column name.

Re: Textbox format for display sql

Posted: Thu Oct 27, 2022 5:23 pm
by kev1n
Is this solved or do you still need our support?