Skip to content

Commit

Permalink
Merge pull request rainforestnet#41 from jostrander/master
Browse files Browse the repository at this point in the history
Retain original LogonInfo object when overwriting credentials
  • Loading branch information
mhertzfeld authored Apr 25, 2021
2 parents db5d8b5 + 7dc03c9 commit 6162c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CrystalReportsNinja/ReportProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ private void PerformDBLogin()
TableLogOnInfo logonInfo = new TableLogOnInfo();
foreach (Table table in _reportDoc.Database.Tables)
{
logonInfo = table.LogOnInfo;
if (server != null)
logonInfo.ConnectionInfo.ServerName = server;

Expand Down

0 comments on commit 6162c8d

Please sign in to comment.