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.
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.
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.
Comments
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
username. I have used the example for the dbexpress
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