Hi, I need some help with a TDBChart.
I have a FMX application with a main form. Also I have a TDataModule where put a TFDConnection and a couple of TFDQuery.
The main form is including the TDataModule. Then I added a TDBChart on main form and a Series1.
When I edit the TDBChart to specify a Dataset for the Series1 it didn't show the query's that I have on the data module. I have selected Dataset option on the first combo box on the Data Source page, however the second Dataset combo box remains empty.
I'm working with C++Builder 10.4.2 recently launched and with 2020.31 version of TeeChartVCLFMXStandard.
What could be wrong?
Best regards,
Patricio Cerda
Can't access dataset's
Can't access dataset's
- Attachments
-
- TDBChart screenshot.png (200.18 KiB) Viewed 52249 times
Re: Can't access dataset's
Hello,
I've tried it in a new simple project and it seems to work without problems:
Have you tried it in a new simple project?
If you still find problems with it, please send us a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
I've tried it in a new simple project and it seems to work without problems:
Have you tried it in a new simple project?
If you still find problems with it, please send us a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Can't access dataset's
Hello,
Thanks Yeray for your help.
I just tried with a new project replicating the same conditions of my project and the problem comes again.
The difference with your example is that you are putting the TFD components on the same main unit, instead of put them on a separate Data Module as on my case.
On my simple test project I added a unit2 (the datamodule with TFD components) and then I included it to the unit1 (main form) so now I have an #include "Unit2.h" sentence in the unit1, however I can't see the query component on the TDBChart.
I'm attaching my simple testing new project for your revision, and a couple of screenshots.
Best regards,
Patricio Cerda
Thanks Yeray for your help.
I just tried with a new project replicating the same conditions of my project and the problem comes again.
The difference with your example is that you are putting the TFD components on the same main unit, instead of put them on a separate Data Module as on my case.
On my simple test project I added a unit2 (the datamodule with TFD components) and then I included it to the unit1 (main form) so now I have an #include "Unit2.h" sentence in the unit1, however I can't see the query component on the TDBChart.
I'm attaching my simple testing new project for your revision, and a couple of screenshots.
Best regards,
Patricio Cerda
- Attachments
-
- TDBChart3.png (155.59 KiB) Viewed 52219 times
-
- TDBChart2.png (35.19 KiB) Viewed 52219 times
-
- TDBChart.rar
- (11.85 KiB) Downloaded 2531 times
Re: Can't access dataset's
Hello,
I'm finding problems with it and I'll do more tests.
In the meanwhile, have you tried to set the series' datasource at runtime? Ie (delphi):
I'm finding problems with it and I'll do more tests.
In the meanwhile, have you tried to set the series' datasource at runtime? Ie (delphi):
Code: Select all
Series1.DataSource:=DataModule1.FDQuery1;
Series1.YValues.ValueSource:='Salary';
Series1.XLabelsSource:='LastName';
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Can't access dataset's
Hi Yeray,
Thank you for your answer and suggestion as a work around, I will try it right now.
Best regards,
Patricio Cerda
Thank you for your answer and suggestion as a work around, I will try it right now.
Best regards,
Patricio Cerda
Re: Can't access dataset's
Hello,
Sorry, I've just realized I wrote just
Sorry, I've just realized I wrote just
FDQuery1
where it should be DataModule1.FDQuery1
. I've edited the reply above.Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Can't access dataset's
Hi
just to note that I have an identical issue with setting dataset connectivity in design mode, using the latest binary install version of TeeChart FMX with Delphi 10.3.
Everything works fine if I define the connections at runtime in my code.
Regards
Bruce
just to note that I have an identical issue with setting dataset connectivity in design mode, using the latest binary install version of TeeChart FMX with Delphi 10.3.
Everything works fine if I define the connections at runtime in my code.
Regards
Bruce
Bruce
Re: Can't access dataset's
Hi,
I just upgraded to RAD Studio 11.1 and TeeChart Standard is still failing in this matter, it still prevents setting the graph at design time.
It is important for me that you could check that please.
Best regards,
Patricio Cerda
I just upgraded to RAD Studio 11.1 and TeeChart Standard is still failing in this matter, it still prevents setting the graph at design time.
It is important for me that you could check that please.
Best regards,
Patricio Cerda
Re: Can't access dataset's
Hello,
Sorry for the delay here.
We'll check this and we'll be back here asap.
Sorry for the delay here.
We'll check this and we'll be back here asap.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |