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

Template Database Settings

edited July 2004 in General
When creating a report in report designer at run time, are the
template's data settings saved in the report automatically or is there
something I have to do to force this to happen?

I have to set the data settings from the data settings menu item on
the data tab in order to create a query using the query wizard, but
these settings are not persisting.

I am using a plugin for SDAC that I wrote so I may be doing something
wrong because when I used to use the BDE the settings persisted. Now
I have to reset the data settings each time I want to edit the report.

Thanks

Mike

Comments

  • edited July 2004
    Hi Mike,

    The TdaSQL object takes care of streaming the database settings to the
    template. Though I have never used SDAC, I assume your plugin looks
    something like our daADO plugin. I would suggest using this as a reference
    to see where the issue might be occuring. If you would like, you can send
    me a copy of the plugin and I can take a look at it for you.

    support@digital-metaphors.com

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004

    Thanks. I think I figured it out. In my app I set
    Designer.DataSettings.SessionType and
    Designer.DataSettings.DatabaseName and then everything is fine.

    I will send you the plugin anyway just so you can look it over. There
    may be somewhere in there that should control that. You are correct,
    it is based on the ADO plugin.

    Mike
This discussion has been closed.