Dataview problem
I updated my report writer enterprise edition from 5.56 to 6.02.
After doing this, none of the custom dataviews worked anymore. So, I
updated from 6.02 to 6.03 and got the same errors.
For a dataview with just one table and no other pipelines I get an
error when trying to open the pipeline. The error is Could not open
dataset: .
When I open a custom dataview with more than one pipeline, ie
master-detail The CreateDataPipelines event is never being fired and
it goes straight to the Connectpipelines to data event where when I
attempt to set datapipeline.username, datapipeline is nil. I have
tried to work around this, but still get the error cannot open
dataset: . This worked fine in 5.56, so what could
have changed to make it not work. I know you have a demo with a
custom dataview in it, this works fine, but I could not see any
differneces that you are doing that I am not. Any ideas? thanks
After doing this, none of the custom dataviews worked anymore. So, I
updated from 6.02 to 6.03 and got the same errors.
For a dataview with just one table and no other pipelines I get an
error when trying to open the pipeline. The error is Could not open
dataset: .
When I open a custom dataview with more than one pipeline, ie
master-detail The CreateDataPipelines event is never being fired and
it goes straight to the Connectpipelines to data event where when I
attempt to set datapipeline.username, datapipeline is nil. I have
tried to work around this, but still get the error cannot open
dataset: . This worked fine in 5.56, so what could
have changed to make it not work. I know you have a demo with a
custom dataview in it, this works fine, but I could not see any
differneces that you are doing that I am not. Any ideas? thanks
This discussion has been closed.
Comments
make sure that no RB files are lingering anywhere on your machine. These
are the files you'll be looking to remove:
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.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
dataviews work, but I am unable to find a difference between your dataview and
the one I have. With the only exception that I do not have a BDE alias setup
to point to.
support@digital-metaphors.com, and we'll trace through the code to see why
its not firing the events correctly. Which database are you using?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
myself.