C2017-003: Support SQL Server for storing of Referenced Object data
This commit is contained in:
@@ -936,9 +936,11 @@ namespace Volian.Controls.Library
|
||||
sw.Close();
|
||||
}
|
||||
string roloc = "\"" + MyDVI.DocVersionAssociations[0].MyROFst.MyRODb.FolderPath + "\" \"/f=" + fname + "\"";
|
||||
// C2017-003: ro data in sql server, check for sql connection string
|
||||
if (MyDVI.DocVersionAssociations[0].MyROFst.MyRODb.DBConnectionString != "cstring") roloc = roloc + " \"/sql=" + MyDVI.DocVersionAssociations[0].MyROFst.MyRODb.DBConnectionString + "\"";
|
||||
System.Diagnostics.Process p = System.Diagnostics.Process.Start(cmpRptExePath, roloc);
|
||||
// need to wait, sometimes the Print.tmp file that is generated is not available
|
||||
p.WaitForExit(); // without arguments, this will wait indefinately
|
||||
p.WaitForExit(); // without arguments, this will wait indefinitely
|
||||
Application.DoEvents();
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user