|
-
Jan 7th, 2003, 06:45 PM
#1
Thread Starter
New Member
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!
-
Jan 8th, 2003, 03:05 AM
#2
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|