VBA-SQL-Library
VBA-SQL-Library copied to clipboard
SQLSubselect — Property Get returns wrong variable
SQLSubselect: SelectAs getter returns wrong variable
- Component:
src/ClassModules/SQLSubselect.cls(around 0–39)
Problem
- Getter returns an undefined identifier instead of the backing field.
Snippet (actual)
Property Get SelectAs() As String
SelectAs = aAs
End Property
Expected
Property Get SelectAs() As String
SelectAs = sAs
End Property
Steps to Reproduce
- Read
SelectAsfrom an instance.
Actual
- Returns empty/undefined; potential compile/runtime error.
Proposed Fix
- Return
sAs.