LimeReport Forum
General Category | Основное => Discussion | Обсуждение => Topic started by: ghon on August 03, 2023, 12:09:25 am
-
How can I change connection as
Driver
Server
Port
User Name
Password
at runtime from qt application.
Thank u in advance.
-
In such case U need to open database in your application, create model for needed table and transfer it to dataSource
like this
LimeReport::ReportEngine *report=new LimeReport::ReportEngine(this);
report->dataManager()->addModel(...)
may be exists another way to solve the problem, I can't to come quickly.
Lets wait for Alex?
-
Hi.
It has been discussed here:
https://limereport.ru/forum/index.php?topic=373.msg2514#msg2514
-
I'm Using postgres I need to change the connection(server,password,port,database) at runtime