Code:[Internal Comments] & Date() & " 2nd Request Letter Sent"
This works well. The only thing I would like to add is a return line before the date is added. Can this be done? Thanks.
Let's say you want an embedded quotation mark within a string you are passing. If you try to use:Chr(34) = "
What would someone use this for? I cannot see how this is helpful.
Private Sub cmdWebsite_Click()
Dim strSql As String
strSql = "UPDATE tblDNclaims SET DN_Reason = "DN_Reason" & "https://www.website.com/specificpage" _
& "WHERE ClaimNo = " & ClaimNo.Text & ""
DoCmd.RunSQL strSql
Private Sub cmdWebsite_Click()
Dim strSql As String
Dim g As String
g = Me.DN_Reason & " https://www.website.com/SpecificPage"
strSql = "UPDATE tblDNclaims SET DN_Reason = g" & "WHERE ClaimNo = " & ClaimNo.Text & ""
DoCmd.RunSQL strSql
End Sub
& " WHERE ClaimNo = " & ClaimNo.Text & ""
Private Sub cmdWebsite_Click()
Dim strSql As String
Dim g As String
g = " https://www.website.com/SpecificPage"
strSql = "UPDATE tblDNclaims SET DN_Reason = DN_Reason + g" _
& " WHERE ClaimNo = " & ClaimNo & """"
DoCmd.RunSQL strSql
End Sub