Cannot assign void value.

genius

New Member
Licensed User
Longtime User
Whats wrong with this statement, i keep gettin a Error description: Cannot assign void value.

Dim AddOrderHeader As Cursor

AddOrderHeader = SQL1.ExecNonQuery("INSERT INTO t1(name, age) VALUES('jorge', 5)")

I dont have any problems with the select statements, help!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…