End user report conversion errors.
I have an application designed in D5 using RBP6.03 with the BDE.
I've rewritten the application in D6, RB7 with IB Objects. Now I cannot
access any of the reports.
The message that I'm getting is:
Class TdaBDEQueryDataView not found
and the report does not open:
I need help to convert several reports over to the new format.
Thank you,
Paul Klomp
PK Software, Inc.
paul@rxcmpd.com
I've rewritten the application in D6, RB7 with IB Objects. Now I cannot
access any of the reports.
The message that I'm getting is:
Class TdaBDEQueryDataView not found
and the report does not open:
I need help to convert several reports over to the new format.
Thank you,
Paul Klomp
PK Software, Inc.
paul@rxcmpd.com
This discussion has been closed.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Will is still work?
Paul Klomp
PK Software, Inc.
report templates have the object definitions for the dataviews saved inside
of it. What happens is that these object definitions are streamed up when
you open the template. Since daDBBDE is not in your uses clause (you want to
use IBO) the object can't be instantiated because they were created
originally as BDE query dataviews. You'll need to edit the templates to use
the IBO definition. If the table structure is the same and you have
converted the tables and fields to IB, then you might be able to edit the
templates you have and change them into IBO query dataviews. Parse the
templates as ascii text and then change the object definitions. What are
the differences? The best way to find out is to create two report templates
with dataviews that are exactly the same, except that one uses the BDE and
the other uses IBO. Open the saved templates up (make sure to set
Template.Format to ascii before saving) and compare the results of the
object definitions for the dataviews. Now you know what is text needs to be
changed in the template to convert a single dataview.
If your templates are stored as binary, you need to convert it to ascii
text. One approach is to stream it without loading the template to a report.
Here is an example of this technique:
http://www.digital-metaphors.com/tips/ConvertBinaryTemplateToAscii.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I'll give it a try.