Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 26113, Component SimpleChart instable

by Eduardo Nunes Email: Anonymous


SimpleChart does not work very well with DatabaseModule??
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For HTML5 Builder, Version 1.0  to 2.0 165 downloads
Copyright: No significant restrictions


Size: 4,271 bytes
Updated on Fri, 03 Oct 2008 11:23:22 GMT
Originally uploaded on Fri, 03 Oct 2008 11:25:13 GMT
SHA1 Hash: DD4B3638D003D7DE9923801308F291EA79318150
MD5 Hash: 3093678FD50E5D43B8D7345BEB56BE29

    Explore the files in this upload

Description
I´m working very hard with d4php2.0 with postgresql. When I use datamodule in a form with simplechart and some other components, simple chart does not work. If i move the declaration of the datamodule and put it at the end of declarations, simple chart works.

Sample:

1 - First case:

In this case, the declaration of "dbModulo" is in the thirth position. So, simplechart will not work.

<?php

require_once("vcl/vcl.inc.php");
require_once("config.php");
require_once("dbModulo.php"); <----
use_unit("comctrls.inc.php");
use_unit("chart.inc.php");
use_unit("dbctrls.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
.
.

1 - Second case:

If i move the declaration of database and put it at the end of declarations, it will work. This case is very strange and dificult to solv but, i need to relate it.

<?php

require_once("vcl/vcl.inc.php");
require_once("config.php");
use_unit("comctrls.inc.php");
use_unit("chart.inc.php");
use_unit("dbctrls.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
require_once("dbModulo.php"); <----
.
.

follow anexed the form.

Sory for my bad english

Thanks

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03