When sFolio contains single quotes This is 'A', it errors
oWorklistItems = oK2Manager.GetWorkListItems("", "", "Approval", "", sFolio, Nothing, Nothing)
An exception of type 'System.Exception' occurred in K2Mng.DLL but was not handled in user code
Additional information: Incorrect syntax near 'A'.