select taskNotes from tbl_WRK_TaskNotes where taskId = and ownerId = and ownerType = #lsdateformat( now(), "MM/DD/YYYY")# @ #lstimeformat( now(), "hh:mm tt")# - #qmd_taskOwner.firstName# #qmd_taskOwner.lastName# Wrote:#chr(10)##qmd_getNotes.taskNotes# update tbl_WRK_TaskNotes set taskNotes = where taskId = and ownerId = and ownerType = select taskTypeName from tbl_WRK_TaskTypes with (nolock) where taskTypeId = and ownerType = and ownerID = update tbl_WRK_Tasks set workflowRequestId = where taskId = #_comment##chr(13)##chr(10)##qmd_assignedTo.firstName# #qmd_assignedTo.lastName# - #lsdateformat( qmd_task.dispositionDate, "MM/DD/YY")# @ #lstimeformat( qmd_task.dispositionDate )# - "#rereplace( qmd_task.taskNotes, "===.*$", "" )#"