Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - bug - SUM formula
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

bug - SUM formula

 Post Reply Post Reply
Author
Message
User777 View Drop Down
Newbie
Newbie


Joined: 23 March 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote User777 Quote  Post ReplyReply Direct Link To This Post Topic: bug - SUM formula
    Posted: 23 March 2010 at 7:47am
hi,

We found issue in ActiveX Report control (13.2.1) and (13.3.1)

we calculate column total for currency data type and in source works fine as expected but when we compile .exe don't work as You can see

1. TOTAL = 27,21 >>>> result
2. TOTAL = 27.00 >>>> compiled exe






our regional setting:
123.456.789,00

UNICODE .ocx

uploads/20100323_073950_test_report.zip



regards
 
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2010 at 10:10am
I think, you should provide the values as double instead of strings:
.AddItem 4#
.AddItem 10.2
 
The conversion from String to Double is somtimes depending on the current locale (Decimalpoint or comma) and the locale may be different in the ide or at runtime. If you use i.e. the val()-function in VB, it expects only decimalpoint and will stop the converting at the comma.
Back to Top
User777 View Drop Down
Newbie
Newbie


Joined: 23 March 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote User777 Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2010 at 4:32am
still not working :(
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2010 at 10:09am
We told you we fixed it in your issue a few weeks ago.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.