cn.begintrans cn.exec

Results 1 to 2 of 2

Thread: cn.begintrans cn.exec

  1. #1
    8575 Guest

    Default cn.begintrans cn.exec

    1(I have 10 insert statements in an arrary)<BR>str(i)<BR>2(I want to loop through them and execute)<BR>cn.BeginTrans <BR>for i=0 to 9<BR> cn.execute str(i)<BR>next<BR>then <BR> cn.commit<BR>3(I keep getting this error)<BR>Error Type:<BR>Microsoft OLE DB Provider for ODBC Drivers (0x80040E0C)<BR>Command text was not set for the command object.<BR>/coa/signup/nw_signup_c.asp, line 33<BR>4(It works if I do one at a time)<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: cn.begintrans cn.exec

    I&#039m surprised it ever works - it should be cn.committrans

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts