'Change POC Name to either Current POCID or Changed New POC Names
'Check POC_ID
'if POC_ID = 0 then no change was made so keep the old POCName
'***************************************************************************************************
ReDim arrChangedPOCName(40), arrChangedPOCType(MaxtblLabPOC)
strChangedPOCName = Trim(strChangedPOC)
'arrChangedPOCName = Split(strChangedPOCName, ", ", -1, 1)
For iIndex = 0 to 5
' If (arrChangedPOCName(iIndex) = "0" Then
If strChangedPOCName(iIndex) = 0 then
arrNewPOCName(iIndex) = Session("arrayCurrentPOC"(iIndex) 'Old Names
Else
arrNewPOCName = (StrChangedPOCName) 'New Names
End If
Next
'Check POC_ID
'if POC_ID = 0 then no change was made so keep the old POCName
'***************************************************************************************************
ReDim arrChangedPOCName(40), arrChangedPOCType(MaxtblLabPOC)
strChangedPOCName = Trim(strChangedPOC)
'arrChangedPOCName = Split(strChangedPOCName, ", ", -1, 1)
For iIndex = 0 to 5
' If (arrChangedPOCName(iIndex) = "0" Then
If strChangedPOCName(iIndex) = 0 then
arrNewPOCName(iIndex) = Session("arrayCurrentPOC"(iIndex) 'Old Names
Else
arrNewPOCName = (StrChangedPOCName) 'New Names
End If
Next