When properties don't exist, it may mean that there is a corrupt installation, where you are running off an old version of RB source files when you compile. Then when the app runs and loads a report which was built with a later version, it can stream the template report definition to an object correctly. Make sure you don't have any old rb files laying around by following these instructions to look for the files:
... 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.
I already had checked all packages before, they were ok. But with your hint I checked the source path in the project options and voil?, it pointed to an elder RB5 directory! This was the reason why I only got errors at runtime, not at designtime ;-))
I cannot delete an elder installation the day you provide me with an update because there are several projects to update and to test! So there always exists 2 versions of RB on my server until all projects are updated.
The same with Delphi: there still exist some customer projects that are not switched to D6. Now every library must be installed for D5 and D6, in an elder and the current version - so I have just 4 installations of RB, IP, ...
Comments
installation, where you are running off an old version of RB source files
when you compile. Then when the app runs and loads a report which was built
with a later version, it can stream the template report definition to an
object correctly. Make sure you don't have any old rb files laying around
by following these instructions to look for the files:
...
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.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I already had checked all packages before, they were ok.
But with your hint I checked the source path in the project options and
voil?, it pointed to an elder RB5 directory! This was the reason why I only
got errors at runtime, not at designtime ;-))
I cannot delete an elder installation the day you provide me with an update
because there are several projects to update and to test! So there always
exists 2 versions of RB on my server until all projects are updated.
The same with Delphi: there still exist some customer projects that are not
switched to D6. Now every library must be installed for D5 and D6, in an
elder and the current version - so I have just 4 installations of RB, IP,
...
Thanks again
Robbi