Skip to content

Commit

Permalink
Fix source path issue
Browse files Browse the repository at this point in the history
This function was still using a constant instead of the passed parameter for the property name. Fixes #284
  • Loading branch information
joyfullservice committed Nov 29, 2021
1 parent 6b2112a commit d916605
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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": "3.4.18",
"Value": "3.4.19",
"Type": 10
},
"Auto Compact": {
Expand Down
8 changes: 5 additions & 3 deletions Version Control.accda.src/modules/clsOptions.cls
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,12 @@ End Property
Private Function GetPropertyByName(strName As String) As AccessObjectProperty

Dim prp As AccessObjectProperty
Dim proj As CurrentProject

If DatabaseOpen Then
For Each prp In CurrentProject.Properties
If prp.Name = cstrSourcePathProperty Then
Set proj = CurrentProject
For Each prp In proj.Properties
If prp.Name = strName Then
Set GetPropertyByName = prp
Exit For
End If
Expand All @@ -735,4 +738,3 @@ Private Function GetPropertyByName(strName As String) As AccessObjectProperty

End Function


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 3.4.18 deployed on 11/9/2021",
"Description": "Version 3.4.19 deployed on 11/29/2021",
"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": "3.4.18",
"AddinVersion": "3.4.19",
"AccessVersion": "14.0 32-bit"
},
"Options": {
Expand Down

0 comments on commit d916605

Please sign in to comment.