Results 1 to 2 of 2

Thread: using addNew

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    10

    using addNew

    Hi,

    I am having problems using addNew to put information into a database. I keep getting errors on the line that reads:

    rs.AddNew(Array("a Column","a Column"),Array(a number,a number))

    rs is an open recordset. I kget various erros. The most common ones are that is dowsn't like the Array declaration, Array("a Column","a Column")...., or I get the error:
    "Object variable of with block not set".

    Any suggestions would be appreciated!

  2. #2
    Fanatic Member Mr.No's Avatar
    Join Date
    Sep 2002
    Location
    Mauritius
    Posts
    651
    If you are using Vb.NET why are you still using the old ADO and not the new ADO.NET?
    Using VB.NET 2003/.NET 1.1/C# 2.0
    http://del.icio.us/rajoo
    Blow your mind, smoke gunpowder
    Ashes to ashes, dust to dust
    If God won't have you, the devil will. - Author unknown
    Don't follow me, I'm lost too ...

Posting Permissions

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



Click Here to Expand Forum to Full Width