|
-
Sep 17th, 2001, 06:53 AM
#1
Thread Starter
Lively Member
silly error in .addnew and .update
anyone able to help here...is this correct?
PHP Code:
set rs = server.CreateObject("ADODB.recordset")
rs.Open "event", conn, 3, 3
rs.AddNew
rs("primarykey") = npk
rs("eventNam") = Request.Form("cEventName")
rs.Update
rs.Close
i get the following error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E2F)
[Microsoft][ODBC Microsoft Access Driver]Error in row
/admin/adminevent.asp, line 145
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
-
Sep 17th, 2001, 07:21 AM
#2
Thread Starter
Lively Member
should be...
rs.close on the last line. ---> just a typ not part of my error...any help???
<code>
s
</code>
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
-
Sep 18th, 2001, 04:03 PM
#3
Thread Starter
Lively Member
anyone???
still not working...help!
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
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
|