Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

AV Stumps Me

edited January 2002 in General
I have a report form which was the report component on
it and some tables, datasources and pipelines.
I create the form and run a report. On some of the
reports, if I try to rerun them I get an AV from
the report. I have tracked it down to a field or fields
from one of the pipelines. I have a 4 level dependency
with master - detail - detail - detail. If I try to
show a field from the first detail table - problem!
But I can show a field from the second detail table
(which is dependent on the first detail table - go
figure.)

I freeandnil the report form after I use it so the
report form should reproduce itself correctly (although
if I don't freeandnil the form, the report works!) The
report form does all the work although the master table
is on my basic data module and not on the report form.
I am STUMPED. I cannot figure this one out. Help sure
would be appreciated.

BTW, I am using D6E with RB6.03E on a W2K Professional
computer.

Comments

  • edited January 2002
    Since it works the first time, then that means that there are fields defined
    on the datapipelines. Are these getting freed after the first report runs?

    Can you send an example which exhibits this behavior to
    support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2002
    I (may/probably ) have it down to a point where if the Master
    Table points to my datamodule (dmf.working) as opposed
    to pointing to the same table with a component on my
    report form, I get the AV. Using the component on the
    report form and the AV doesn't happen. I can send you
    an example of this if you still need it.

  • edited January 2002
    Sure, send an example to support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.