changing end-user DB settings on the fly
Dear all,
I have the user tool in an application that works with both SQL server
and Access database types.
When I launch the report tool, I need to set the
ppdesigner1.DataSettings.DatabaseType to MSSQLServer or MSAccess as
appropriate. What is the syntax for doing this? If I use
ppdesigner1.DataSettings.DatabaseType:=dtMSSqlServer; I get an error ,
unknown declaration. Is there some unit I need to declare?
thanks
--
John Evans
Managing Director
Clear Advantage Ltd
www.Clear-Advantage.co.uk
I have the user tool in an application that works with both SQL server
and Access database types.
When I launch the report tool, I need to set the
ppdesigner1.DataSettings.DatabaseType to MSSQLServer or MSAccess as
appropriate. What is the syntax for doing this? If I use
ppdesigner1.DataSettings.DatabaseType:=dtMSSqlServer; I get an error ,
unknown declaration. Is there some unit I need to declare?
thanks
--
John Evans
Managing Director
Clear Advantage Ltd
www.Clear-Advantage.co.uk
This discussion has been closed.
Comments
Add ppTypes to the uses clause.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
John