I'm stringing together a SQL statement in a loop that defines the new statement each time as
strSQL = strSQL & ",[summaryFTEconfirmed].[countof" & strTEMP & "] As confirmed" & strTEMP & ",[summaryFTEnamed].[countof" & strTEMP & "]"
I can't add an AS clause to the second part without an error that I'm using a reserved word which I assume is AS. I may be missing a delimiter from this
strSQL = strSQL & ",[summaryFTEconfirmed].[countof" & strTEMP & "] As confirmed" & strTEMP & ",[summaryFTEnamed].[countof" & strTEMP & "]" & "AS named " & strTEMP
thanks
strSQL = strSQL & ",[summaryFTEconfirmed].[countof" & strTEMP & "] As confirmed" & strTEMP & ",[summaryFTEnamed].[countof" & strTEMP & "]"
I can't add an AS clause to the second part without an error that I'm using a reserved word which I assume is AS. I may be missing a delimiter from this
strSQL = strSQL & ",[summaryFTEconfirmed].[countof" & strTEMP & "] As confirmed" & strTEMP & ",[summaryFTEnamed].[countof" & strTEMP & "]" & "AS named " & strTEMP
thanks