You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to set custom database connection name from code
by code like report->dataManager()->setReportVariable("custom_connection_name",EasyQtSql::SqlFactory::getInstance()->getDatabase("CLOUD").connectionName())
Activity
MrAhmedSayedAli commentedon Aug 21, 2023
i just make temp fix for me
add qh->setConnectionName(replaceVariables(qh->connectionName()));LimeReport/limereport/lrdatasourcemanager.cpp
Line 1020 in f73342d
and
if (!QSqlDatabase::contains(replaceVariables(connectionDesc->name())))LimeReport/limereport/lrdatasourcemanager.cpp
Line 977 in f73342d