Skip to content

Commit

Permalink
Enable automated (non-interactive) build
Browse files Browse the repository at this point in the history
Using the InteractionMode property, you can perform a silent build operation. This can now be used with an automated build process as part of a CI workflow. #406
  • Loading branch information
joyfullservice committed Sep 6, 2023
1 parent 7db7088 commit b33f142
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Version Control.accda.src/dbs-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"Type": 10
},
"AppVersion": {
"Value": "4.0.19",
"Value": "4.0.21",
"Type": 10
},
"Auto Compact": {
Expand Down
5 changes: 4 additions & 1 deletion Version Control.accda.src/forms/frmVCSMain.bas
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Begin Form
ItemSuffix =33
Left =3225
Top =2430
Right =13890
Right =18945
Bottom =14175
OnUnload ="[Event Procedure]"
RecSrcDt = Begin
Expand Down Expand Up @@ -1894,6 +1894,9 @@ Public Sub FinishBuild(blnFullBuild As Boolean) 'Optional strType As String = "B
cmdOpenLogFile.Visible = (Log.LogFilePath <> vbNullString)
Me.strLastLogFilePath = Log.LogFilePath

' Close form if running in silent mode (such as when running automated builds)
If InteractionMode = eimSilent Then DoCmd.Close acForm, Me.Name

End Sub


Expand Down
2 changes: 1 addition & 1 deletion Version Control.accda.src/vbe-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"Items": {
"Name": "MSAccessVCS",
"Description": "Version 4.0.16 deployed on 7/12/2023",
"Description": "Version 4.0.21 deployed on 9/6/2023",
"FileName": "Version Control.accda",
"HelpFile": "",
"HelpContextId": 0,
Expand Down
2 changes: 1 addition & 1 deletion Version Control.accda.src/vcs-options.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Info": {
"AddinVersion": "4.0.20",
"AddinVersion": "4.0.21",
"AccessVersion": "14.0 32-bit"
},
"Options": {
Expand Down

0 comments on commit b33f142

Please sign in to comment.