-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename field group to groups in table T_SSMAA_ODBC_Tables since multi…
…ple groups can be listed. Refactor code to handle changed field name.
- Loading branch information
1 parent
c4391c5
commit 27d0a07
Showing
10 changed files
with
80 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Option Compare Database | ||
Option Explicit | ||
|
||
Public Sub SetQueryDefProperty(queryName As String, propertyName As String, value As String, Optional propertyType As DAO.DataTypeEnum = dbText) | ||
Public Sub SetQueryDefProperty(queryName As String, propertyName As String, Value As String, Optional propertyType As DAO.DataTypeEnum = dbText) | ||
Dim prp As DAO.Property | ||
On Error Resume Next | ||
Set prp = CurrentDb.QueryDefs(queryName).CreateProperty(propertyName, propertyType, value) | ||
Set prp = CurrentDb.QueryDefs(queryName).CreateProperty(propertyName, propertyType, Value) | ||
CurrentDb.QueryDefs(queryName).Properties.Append prp | ||
If Err = 3367 Then | ||
CurrentDb.QueryDefs(queryName).Properties(propertyName).value = value | ||
CurrentDb.QueryDefs(queryName).Properties(propertyName).Value = Value | ||
End If | ||
On Error GoTo 0 | ||
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.