Home Server

Accessing the database name for a report with more than one query.

edited September 2003 in Server
I'm using the on reportloadend event to change the database name and it
works one reports with just one query in the rtm report, but not if
there are two or more queries. How do I access the database name for
the other queries?

Thanks,
Dave

Comments

  • edited September 2003


    Get the TdaDataModule for the report. Then iterate thru the
    DataModule.DataViews[] array property to get each QueryDataView and
    modify the database name.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2003
    That was the fix I need. Must have been going to fast that day, I
    missed th []'s and thought I had just one.

    Thanks,
    Dave

This discussion has been closed.