Skip to content

Commit 20a98e6

Browse files
authored
Refactor SQLDatabase class for improved clarity (#69)
1 parent cfbf30d commit 20a98e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ClassModules/SQLDatabase.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Public Function Execute(oSQL As iSQLQuery, Optional return_column = "")
7272
cnt.ConnectionString = MakeConnectionString()
7373
cnt.OpenConnection
7474

75-
rst.OpenwsRecordset sSQL, cnt 'Execute the query
75+
rst.OpenRecordset sSQL, cnt 'Execute the query
7676
If return_column <> "" Then
7777
If rst.EOF Then
7878
Execute = False
@@ -123,3 +123,4 @@ Private Function PrepareInsert(ByVal oSQL As SQLInsert, return_column)
123123
Set PrepareInsert = MySQLGroup
124124
End Select
125125
End Function
126+

0 commit comments

Comments
 (0)