Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

SQL returns integer, PIE show Decimals
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: SQL returns integer, PIE show Decimals
#51269
Re:SQL returns integer, PIE show Decimals 10 Years, 2 Months ago Karma: 760
You can see in the table that it retrieves 2.349,0 from database (not 2349).

PS: Do you use "Columns settings -> Format" parameter in module settings?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51270
Re:SQL returns integer, PIE show Decimals 10 Years, 2 Months ago Karma: 0
I disagree
I am convinced, that my MSSQL returns ingeter.

Where can i learn about formatting parameters?
The administrator has disabled public write access.
 
#51271
Re:SQL returns integer, PIE show Decimals 10 Years, 2 Months ago Karma: 0
Not using any formatting parameters.


Sincerely
Johnny Ejs
Last Edit: 2014/09/12 11:56 By johnny@ejs.dk.
The administrator has disabled public write access.
 
#51272
Re:SQL returns integer, PIE show Decimals 10 Years, 2 Months ago Karma: 760
The extension can modify data only if "Format" parameter is defined otherwise data is modified outside the extension. We need to see the problem and have access to backend so we can investigate it because we can't reproduce it on our test server.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51556
Re:SQL returns integer, PIE show Decimals 10 Years, 1 Month ago Karma: 0
Solved!
And You were right again.

This modification to Query fixed my problem:

SELECT Dep.a as Forv
,cast((SELECT COUNT(*) FROM dbo.HPD_Help_Desk with (nolock) WHERE [Categorization_Tier_1] = 'Change' AND [Categorization_Tier_2] like '%Normal%' AND [Department] = Dep.a) as varchar(250)) as Normal
FROM (SELECT 'BIF' a union all SELECT 'BUF' a union all SELECT 'KFF' a union all SELECT 'KS' a union all SELECT 'SUF' a union all SELECT 'SOF' a union all SELECT 'TMF' a ) as Dep

union all
SELECT N'ØKF' as Forv
,cast((SELECT COUNT(*) FROM dbo.HPD_Help_Desk with (nolock) WHERE [Categorization_Tier_1] = 'Change' AND [Categorization_Tier_2] like '%Normal%' AND [Department] like '%KF') as varchar(250)) as Normal

So this issue can be closed.
Sincerely - Johnny Ejs
The administrator has disabled public write access.
 
Go to topPage: 12