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

end user app

edited December 2003 in End User
i use delphi 6, rb 6.3 window2000 prof.
When i load a report from template with query in data tab the username and
password request , if my report use query from datamodule ok
what happens?
sorry for my english.

Comments

  • edited December 2003

    When using the Data workspace of the report designer, you should create a
    connection component such as a TDatabase or TADOConnection, etc. Configure
    the connection parameters for the connection component. Set the
    TppDesigner.DataSettings.DatabaseName to reference the connection component.
    Now all new reports will use the connection component name.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2003
    I do really this way, only that when I make a master-detail it asks me the
    username. I have used the example for the dbexpress

  • edited December 2003

    Using RB 7.03, I just tested the dbExpress example that is installed to
    RBuilder\Demos\4. EndUser Databases\InterBase\2. dbExpress.

    I had to set the TppDesigner.DataSettings.DatabaseName to euSQLConnection to
    get it to connect properly. For some reason, when I opened the demo, this
    property was not assigned. I compiled and ran the demo and created a
    customer/sales master detail report. I can save it and re-run the
    application and load it without error.

    Try downloading a trial version of RB 7.03 and perform the same test.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.