jt463
IS-IT--Management
- Nov 23, 2005
- 134
I have the following Select statement:
This corrects the issue I had when my Me.Selection.Value was:
Add 10"x50" Double-Hung Windows
However, now I have an issue with the following:
9' Foundation Poor
I solved the 9' issue by changing my select to:
But that presents a problem when my value includes quotes.
Any help would be greatly appreciated. Thank you.
Code:
stSelection = Me.Selection.Value
stSQLWhere = "Subdivision = '" & Me.Subdivision.Value & "' AND Selection = '" & stSelection & "'"
This corrects the issue I had when my Me.Selection.Value was:
Add 10"x50" Double-Hung Windows
However, now I have an issue with the following:
9' Foundation Poor
I solved the 9' issue by changing my select to:
Code:
Set SelNotesRst = SelNotesDb.OpenRecordset("select * from COSelTotalNotes WHERE Subdivision = '" & Me.Subdivision.Value & "' AND Selection = "" & stSelection & """)
But that presents a problem when my value includes quotes.
Any help would be greatly appreciated. Thank you.