Use new generic property (ActiveDatabase) to access the current database name. About Screen

Use new generic property (ActiveDatabase) to access the current database name.  Name of Export File
Use new generic property (ActiveDatabase) to access the current database name.  Name of Error Log FIle.
Added new generic property (ActiveDatabase) to access the current database name.
This commit is contained in:
Rich
2014-09-03 19:37:24 +00:00
parent ca30984031
commit 3a7667d9b7
4 changed files with 16 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ namespace VEPROMS
{
//Database.SelectedDatabase
//sfd.FileName = string.Format("{0}.expx", MyFolder.Name);
sfd.FileName = string.Format("{0}-{1}.expx",Database.SelectedDatabase, MyFolder.Name);
sfd.FileName = string.Format("{0}-{1}.expx",Database.ActiveDatabase, MyFolder.Name);
if (sfd.ShowDialog(this) == DialogResult.OK)
{
if (sfd.FileName != string.Empty)