Problem with DBExpress

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
CARLOS NEVES
Newbie
Newbie
Posts: 3
Joined: Wed Feb 22, 2006 12:00 am

Problem with DBExpress

Post by CARLOS NEVES » Tue Jul 11, 2006 12:53 pm

Hi,

I work with Oracle 9i and Delphi 2006, the components “TSQLQuery”, “TStoredProc” and “TSQLDataSet” of DBExpress recognize columns “Integer” and “Number” as “TFMTBCDField”, but the problem is “TDBChart” don´t work with this type.
Exists any solution for this?

Thanks...
Carlos Neves

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jul 12, 2006 1:49 pm

Hi Carlos,

I'm afraid you'll have to populate the series manually, iterating on the recordset and using Add or AddXY methods to populate the series.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

CARLOS NEVES
Newbie
Newbie
Posts: 3
Joined: Wed Feb 22, 2006 12:00 am

Post by CARLOS NEVES » Wed Jul 12, 2006 2:40 pm

Narcís, it´s one solution
narcis wrote:Hi Carlos,

I'm afraid you'll have to populate the series manually, iterating on the recordset and using Add or AddXY methods to populate the series.
But, i working in a migration of BDE for DBExpress. This project contain 25 TBChart, for this i post one sugestion for this.

Thanks for Reply.
Carlos Neves

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jul 17, 2006 7:40 am

Hi Carlos,

BCD type is supported but not FMTBCD, we will add it.

In the meantime, manually adding the field manually should work fine. This is not being added at the editor's list but you can try using:

Code: Select all

Series1.YValues.ValueName := 'MyFMTBCDField';
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply