I can't configure data for a TppDBTeeChart. When I use dataPipelines I can't find a way to set up data for it. Is there any tutorial or something like this to help me out?
Which version of ReportBuilder are you currently using? Be sure you are using the TppDPTeeChart as a data-aware TeeChart component in RB. Once you add a series to the list, click on the Series | DataSource tabs. Then select DataPipeline from the combo box at the top. Also, check out demo 92 (dm0092.pas) loacted in the \RBuilder\Demos\1. Reports\... directory.
The options you see are for the TppDBTeeChart. In some versions of RB 9.x both the TppDBTeeChart and TppDPTeeChart were installed. Take a look at the Data Components toolbar and see if there are two options for charts. Then be sure you are using the TppDPTeeChart component.
I did it and things got worse. Now when I try to start Delphi I get the Can't load package for rbIBE97.bpl with the following reason: "It contains unit IBXConst, wich is also contained in package ibxpress73".
After loading Delphi, I edit some report and now I can see there are two teeCharts on DataComponents. I've tried using TppDP... and the result is the same. If I try with TppDB... and I get this awkward message: "DANGER. Stack Overflow. Save your work and restart Delphi"
I did it and things got worse. Now when I try to start Delphi I get the Can't load package for rbIBE97.bpl with the following reason: "It contains unit IBXConst, wich is also contained in package ibxpress73".
After loading Delphi, I edit some report and now I can see there are two teeCharts on DataComponents. I've tried using TppDP... and the result is the same. If I try with TppDB... and I get this awkward message: "DANGER. Stack Overflow. Save your work and restart Delphi"
I apologize, I should have asked you which version of TeeChart you were using initially. It is however good that you upgraded to RB 9.03 because there have been many fixes made to the product since RB 9.01. The reason you are getting these errors is due to the fact that you still have some old packages installed on your machine. Take a look at the following article on how to clean up a corrupt installation, then re-install ReportBuilder. You will probably need to remove all references to RB packages in the Components | Install Packages dialog in Delphi before re-installing.
TeeChart 4.04 (the version shipped with Delphi) does not include the ability to connect to a datapipeline at designtime. This is a limitation of this version due to the fact that the TeeChart source is not shipped with Delphi. The DataPipeline is available at runtime (for TeeChart 4.04) and is also available at design and runtime for registered versions of TeeChart Pro.
-------------------------------------------- Article: Cleaning up a Corrupt Installation --------------------------------------------
If you have been advised by Digital Metaphors technical support that you may have a corrupt installation, or if you are having difficulty installing, compiling or running applications after a ReportBuilder install, then it may be necessary to manually remove all ReportBuilder files from your system. Corrupt installations usually result when you are installing over a previous version of ReportBuilder which was not installed into the default directory, which was recompiled from the source, or when ReportBuilder files were manually moved from the default install location. Cleaning up a corrupt installation, consists of locating all ReportBuilder related files, and deleting them from your system. The first step is to use the uninstall program to remove as much of ReportBuilder as possible.
Run the uninstall program
1. Exit Delphi, and all other applications. You should have no applications running except the uninstall, otherwise you may lose some of your work.
2. Select Start | Settings | Control Panel from your Windows desktop.
3. Double-click the Add/Remove programs icon.
4. Locate the version of ReportBuilder you wish uninstall and double-click it.
5. The first page of the Uninstall Wizard allows you to choose between an Automatic or Custom uninstall. Choose Custom and click the Next button.
6. Click the Select All button, then the Next button. Repeat these steps until you reach the last page of the wizard.
7. Click the Finish button. All of the items you selected will be removed from the system.
8. After all the ReportBuilder files are removed, you may be prompted to reboot the system. If this is the case, reboot the system.
Delete the ReportBuilder root directory (and all subdirectories)
1. Using the Windows Explorer, locate the ReportBuilder root directory. The default directory is:
C:\Program Files\Borland\DelphiX\RBuilder
2. Once you have located this directory, inspect it. If you have any custom work in this directory which you would like to keep, move it to another directory.
3. Delete the ReportBuilder root directory.
Delete all remaining ReportBuilder files
1. Using the Windows Explorer, search the entire hard drive for all occurrences of:
dclRB*.bpl dclRB*.dcp rb*.bpl rb*.dcp
2. Delete any occurrences which correspond to the version you are removing. All packages are named with the convention NN, where the first number is the ReportBuilder version and the second number is the Delphi version. Thus, a typical package name for Delphi 5 would be rbRCL45.bpl. The same package for Delphi 4 would be: rbRCL44.bpl. Check Installing ReportBuilder for a list of the packages associated with each version.
3. Using the Windows Explorer, search your hard drive for all occurrences of:
pp*.* da*.* ra*.*
4. These are the prefixes used by individual ReportBuilder units. 'pp' is used for ReportBuilder units, 'da' is used for DADE units, and 'ra' is used for RAP units. Depending on which ReportBuilder you have (Standard, Professional or Enterprise) you may not have all of these unit types.
Additional Notes
1. Never have Delphi running when installing ReportBuilder.
2. All ReportBuilder related files should be stored in the root directory $(DELPHI)\RBuilder.
3. All ReportBuilder run-time packages should be stored in the Windows\System directory.
4. You should never have ReportBuilder files in Delphi\Lib, Delphi\Bin or Delphi\Projects\Bpl.
No problem at all. As a matter of fact I did the uninstalling manually before you posting this. :-) Now the issue has changed. I re-installed RB9.03 and now all the TeeChart components are gone. I checked the Install TeeChart option.
Where can I get TeeChart Pro (wich is the manufacturer site?). Do you have examples on using dataPipeline runtime connection, is there any limitation or the only problem is "writing more code"?
Comments
Which version of ReportBuilder are you currently using? Be sure you are
using the TppDPTeeChart as a data-aware TeeChart component in RB. Once you
add a series to the list, click on the Series | DataSource tabs. Then
select DataPipeline from the combo box at the top. Also, check out demo 92
(dm0092.pas) loacted in the \RBuilder\Demos\1. Reports\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
From Install.log: "Title: ReportBuilder Enterprise 9.01 for Delphi 7"
I'm using this component, I don't know what you mean by "as a data-aware"
I do this, but when I drop down the combo box at the top it is given to me
only these options:
No Data
Random Values
Function
DataSet
Single Record
Thank you again
Ricardo
The options you see are for the TppDBTeeChart. In some versions of RB 9.x
both the TppDBTeeChart and TppDPTeeChart were installed. Take a look at the
Data Components toolbar and see if there are two options for charts. Then
be sure you are using the TppDPTeeChart component.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Nico,
There is only one.
OK. I saw it again. I am using the TppDPTeeChart and no DataPipeline option
is available.
Ricardo
Download and install a copy of RB 9.03 and see if that fixes the problem.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi,
I did it and things got worse.
Now when I try to start Delphi I get the Can't load package for rbIBE97.bpl
with the following reason: "It contains unit IBXConst, wich is also
contained in package ibxpress73".
After loading Delphi, I edit some report and now I can see there are two
teeCharts on DataComponents. I've tried using TppDP... and the result is the
same. If I try with TppDB... and I get this awkward message: "DANGER. Stack
Overflow. Save your work and restart Delphi"
I'm puzzled here
Thank you
Ricardo
Hi,
I did it and things got worse.
Now when I try to start Delphi I get the Can't load package for rbIBE97.bpl
with the following reason: "It contains unit IBXConst, wich is also
contained in package ibxpress73".
After loading Delphi, I edit some report and now I can see there are two
teeCharts on DataComponents. I've tried using TppDP... and the result is the
same. If I try with TppDB... and I get this awkward message: "DANGER. Stack
Overflow. Save your work and restart Delphi"
I'm puzzled here
Thank you
Ricardo
I apologize, I should have asked you which version of TeeChart you were
using initially. It is however good that you upgraded to RB 9.03 because
there have been many fixes made to the product since RB 9.01. The reason
you are getting these errors is due to the fact that you still have some old
packages installed on your machine. Take a look at the following article on
how to clean up a corrupt installation, then re-install ReportBuilder. You
will probably need to remove all references to RB packages in the Components
| Install Packages dialog in Delphi before re-installing.
TeeChart 4.04 (the version shipped with Delphi) does not include the ability
to connect to a datapipeline at designtime. This is a limitation of this
version due to the fact that the TeeChart source is not shipped with Delphi.
The DataPipeline is available at runtime (for TeeChart 4.04) and is also
available at design and runtime for registered versions of TeeChart Pro.
--------------------------------------------
Article: Cleaning up a Corrupt Installation
--------------------------------------------
If you have been advised by Digital Metaphors technical support that you may
have a corrupt installation, or if you are having difficulty installing,
compiling or running applications after a ReportBuilder install, then it may
be necessary to manually remove all ReportBuilder files from your system.
Corrupt installations usually result when you are installing over a previous
version of ReportBuilder which was not installed into the default directory,
which was recompiled from the source, or when ReportBuilder files were
manually moved from the default install location. Cleaning up a corrupt
installation, consists of locating all ReportBuilder related files, and
deleting them from your system. The first step is to use the uninstall
program to remove as much of ReportBuilder as possible.
Run the uninstall program
1. Exit Delphi, and all other applications. You should have no applications
running except the uninstall, otherwise you may lose some of your work.
2. Select Start | Settings | Control Panel from your Windows desktop.
3. Double-click the Add/Remove programs icon.
4. Locate the version of ReportBuilder you wish uninstall and double-click
it.
5. The first page of the Uninstall Wizard allows you to choose between an
Automatic or Custom uninstall. Choose Custom and click the Next button.
6. Click the Select All button, then the Next button. Repeat these steps
until you reach the last page of the wizard.
7. Click the Finish button. All of the items you selected will be removed
from the system.
8. After all the ReportBuilder files are removed, you may be prompted to
reboot the system. If this is the case, reboot the system.
Delete the ReportBuilder root directory (and all subdirectories)
1. Using the Windows Explorer, locate the ReportBuilder root directory. The
default directory is:
C:\Program Files\Borland\DelphiX\RBuilder
2. Once you have located this directory, inspect it. If you have any custom
work in this directory which you would like to keep, move it to another
directory.
3. Delete the ReportBuilder root directory.
Delete all remaining ReportBuilder files
1. Using the Windows Explorer, search the entire hard drive for all
occurrences of:
dclRB*.bpl
dclRB*.dcp
rb*.bpl
rb*.dcp
2. Delete any occurrences which correspond to the version you are removing.
All packages are named with the convention NN, where the first number
is the ReportBuilder version and the second number is the Delphi version.
Thus, a typical package name for Delphi 5 would be rbRCL45.bpl. The same
package for Delphi 4 would be: rbRCL44.bpl. Check Installing ReportBuilder
for a list of the packages associated with each version.
3. Using the Windows Explorer, search your hard drive for all occurrences
of:
pp*.*
da*.*
ra*.*
4. These are the prefixes used by individual ReportBuilder units. 'pp' is
used for ReportBuilder units, 'da' is used for DADE units, and 'ra' is used
for RAP units. Depending on which ReportBuilder you have (Standard,
Professional or Enterprise) you may not have all of these unit types.
Additional Notes
1. Never have Delphi running when installing ReportBuilder.
2. All ReportBuilder related files should be stored in the root directory
$(DELPHI)\RBuilder.
3. All ReportBuilder run-time packages should be stored in the
Windows\System directory.
4. You should never have ReportBuilder files in Delphi\Lib, Delphi\Bin or
Delphi\Projects\Bpl.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
No problem at all. As a matter of fact I did the uninstalling manually
before you posting this. :-)
Now the issue has changed. I re-installed RB9.03 and now all the TeeChart
components are gone. I checked the Install TeeChart option.
Where can I get TeeChart Pro (wich is the manufacturer site?).
Do you have examples on using dataPipeline runtime connection, is there
any limitation or the only problem is "writing more code"?
Thank you for your help.
Ricardo
If you go into the Components | Installed Packages dialog in the Delphi IDE,
check to see that the ReportBuilder TeeChart components are installed.
TeeChart Pro is available from Steema... http://www.steema.com
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com