session database problem

Results 1 to 2 of 2

Thread: session database problem

  1. #1
    M3alem Guest

    Default session database problem

    Hi everybody,<BR>I am trying to insert this to my database, and there is something wrong with acart(i,0), eventhough, when i plot its value, there will be an actual number. if I replace acart(i,0) with a number like "12", it will work... <BR>Thanks a lot for the help in advance.<BR><BR>sql= "insert into orders (customer_id, book_id) values ("& customer_id &"," &acart(i,0) &")"<BR>set rsorderitems=db.execute(sql) &#039 this is the line number it is reffering to for the problem.<BR><BR>Error Type:<BR>Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)<BR>[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.<BR>

  2. #2 Guest

    Default What is acart()?

    Is it an array or a custom function.

Posting Permissions

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