fork download
  1. DO
  2. if Request.Form("Action") = "CREATE" and strCreate = "Y" then
  3. IF strPersonId <> "" then
  4. for iLoop = 0 to UBound(astrSubTest)
  5. if Request.Form(astrSubTest(iLoop) & "CodeID") <> "" then
  6. if DBConnNextKey.Errors.Count > 0 then
  7. for iLoop2 = 0 to DBConnNextKey.Errors.Count - 1
  8. exit do
  9. end if
  10. if Request.Form(astrSubTest(iLoop) & "V") = "" then
  11. else
  12. end if
  13. if DBConnU.Errors.Count > 0 then
  14. exit for
  15. end if
  16. end if
  17. if DBConnU.Errors.Count = 0 then
  18. else
  19. for iLoop2 = 0 to DBConnU.Errors.Count - 1
  20. end if
  21. End IF
  22. end if
  23. if Request.Form("Action") = "UPDATE" and strUpdate = "Y" then
  24. IF strPersonId <> "" then
  25. for iLoop = 0 to UBound(astrSubTest)
  26. if Request.Form(astrSubTest(iLoop) & "ID") = "" then 'row does not exist
  27. if Request.Form(astrSubTest(iLoop) & "CodeID") <> "" then 'Create
  28. if DBConnNextKey.Errors.Count > 0 then
  29. for iLoop2 = 0 to DBConnNextKey.Errors.Count - 1
  30. exit do
  31. end if
  32. if Request.Form(astrSubTest(iLoop) & "V") = "" then
  33. else
  34. end if
  35. end if
  36. elseif Request.Form(astrSubTest(iLoop) & "CodeID") = "" then 'Delete
  37. else 'Update
  38. if Request.Form(astrSubTest(iLoop) & "V") = "" then
  39. else
  40. end if
  41. end if
  42. if strSQL <> "" then
  43. end if
  44. if DBConnU.Errors.Count > 0 then
  45. exit for
  46. end if
  47. if DBConnU.Errors.Count = 0 then
  48. else
  49. for iLoop = 0 to DBConnU.Errors.Count - 1
  50. end if
  51. End IF
  52. end if
  53. if Request.Form("Action") = "DELETE" and strDelete = "Y" then
  54. IF strPersonId <> "" then
  55. for iLoop = 0 to UBound(astrSubTest)
  56. if Request.Form(astrSubTest(iLoop) & "ID") <> "" then 'row exists
  57. end if
  58. next
  59.  
  60. if DBConnU.Errors.Count = 0 then
  61. else
  62. for iLoop = 0 to DBConnU.Errors.Count - 1
  63. next
  64. end if
  65. End IF
  66. end if
  67. LOOP UNTIL TRUE
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty