PNJ,
the first code i posted had few erros in it, i dont think the error is with IsArray

here is the clean version of it

VB Code:
  1. <%
  2. uid=request.form("chkAddressID")
  3. if isarray(uid) then
  4.     uid=split(uid, ",")
  5.     for i=0 to ubound (uid)
  6.         sql="Delete From email Where ID=" & uid(i)
  7.          
  8.         Response.Write sql & "<br>"
  9.     next
  10. else
  11.     sql="delete from email where userid=" & uid
  12.     Response.Write sql
  13. end if
  14. %>

This code is the same but it doesnt use IsArray
VB Code:
  1. <%
  2. uid=request.form("chkAddressID")
  3. if instr(1, uid, ",") then
  4.     uid=split(uid, ",")
  5.     for i=0 to ubound (uid)
  6.         sql="Delete From email Where ID=" & uid (i)
  7.          
  8.         Response.Write sql & "<br>"
  9.     next
  10. else
  11.     sql="delete from email where userid=" & uid
  12.     Response.Write sql
  13. end if
  14. %>

Test them out now.

Hope this helps.

Danial