I have a code snippet here which I'm hoping someone can help me decipher:
Code:
strUpdate = "UPDATE [NO REASON LETTER REPORT TABLE] "
If (.Fields("DO NOT DISPLAY SSN").Value) Then
strSet = "SET [SORT FIELD1] = '" & RemoveSingleQuotes(strSort1) & "', " & _
"[SORT FIELD2] = '" & RemoveSingleQuotes(strSort2) & "', " & _
"[EMPLOYEE SSN] = ' ' "
Else
strSet = "SET [SORT FIELD1] = '" & RemoveSingleQuotes(strSort1) & "', " & _
"[SORT FIELD2] = '" & RemoveSingleQuotes(strSort2) & "' "
End If
Thank you in advance if you can provide me with any help!
Code:
strUpdate = "UPDATE [NO REASON LETTER REPORT TABLE] "
If (.Fields("DO NOT DISPLAY SSN").Value) Then
strSet = "SET [SORT FIELD1] = '" & RemoveSingleQuotes(strSort1) & "', " & _
"[SORT FIELD2] = '" & RemoveSingleQuotes(strSort2) & "', " & _
"[EMPLOYEE SSN] = ' ' "
Else
strSet = "SET [SORT FIELD1] = '" & RemoveSingleQuotes(strSort1) & "', " & _
"[SORT FIELD2] = '" & RemoveSingleQuotes(strSort2) & "' "
End If
Thank you in advance if you can provide me with any help!