ReportBuilder LargeInt fields for Axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mgkrebbs
Newbie
Newbie
Posts: 2
Joined: Fri Apr 11, 2008 12:00 am

ReportBuilder LargeInt fields for Axis

Post by mgkrebbs » Fri Oct 02, 2009 9:01 pm

Hi all,
D7
TeeChart Standard v8.02.10861
ReportBuilder 10

When editing a chart in a ReportBuilder End-user report, the drop-down for the X and Y axis' only contains integer or date fields. However, since switching to mySQL5 (as apposed to 3), RB has swithched the field type of calculated fields (ie: Count(*)) to LargeInt, instead of Int. Do the newer versions of Teechart allow a LargeInt field to be chosen as an Axis? Iv'e trie using the mySQL CAST function, but still shows up as LargeInt in RB. If Teechart does not allow LargeInt's, shouldn't it?

Thanks.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ReportBuilder LargeInt fields for Axis

Post by Yeray » Mon Oct 05, 2009 8:04 am

Hi mgkrebbs,

I'm not sure to understand what drop-down are you talking about. Could you please specify it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

mgkrebbs
Newbie
Newbie
Posts: 2
Joined: Fri Apr 11, 2008 12:00 am

Re: ReportBuilder LargeInt fields for Axis

Post by mgkrebbs » Mon Oct 05, 2009 1:44 pm

Dropped a DPTeeChart in the report(reportbuilder end-user, runtime)
, rt. Click "Edit Chart">dblclick "Series1">"Datasource" tab, Choose Datapipeline, Then in the box below, there is Label (any field from the datapipeline shows up in this drop-down) , X and Y (any int field form the pipeline show up in these dropdowns.) However when running with mySQL5, Reportbuilder classifies any calculated field like Count(*) as a LargeInt, and these do not appear in the drop-downs. mySQL3, RB classifies them as Int.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ReportBuilder LargeInt fields for Axis

Post by Yeray » Mon Oct 05, 2009 2:03 pm

Hi mgkrebbs,

As you'll probably know, the ReportBuilder wrapper for TeeChart is supported by Digital Metaphors so first of all, we'd need to know if the problem is reproducible in an application without any ReportBuilder.
On the other hand, we don't have access to your database so it would be difficult for us to reproduce the problem here without more information.

So, knowing the both tips above, please try to reproduce the problem in a simple example application we can run as-is to reproduce the problem here and we'll be glad to try to see what's happening. Note that this simple application shouldn't have any ReportBuilder.

Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply