I get an error when I implement our code. Here it is below:
Microsoft OLE DB Provider for ODBC Drivers error '80040e0c'
Command text was not set for the command object.
/intern/Admincontacts.asp, line 18
This is my code, can you tell me what Im doing wrong...
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/dbconn.asp" -->
<%
set objRS = Server.CreateObject("ADODB.Recordset"

objRS.ActiveConnection = MM_dbconn_STRING
dim grp, title, cname, loc, phone, fax, pgr
grp = request.form("group"

title = request.form("title"

cname = request.form("name"

loc = request.form("location"

phone = request.form("phone"

fax = request.form("fax"

pgr = request.form("pager"
objRS("group"

= grp
objRS("title"

= title
objRS("name"

= cname
objRS("location"

= loc
objRS("phone"

= phone
objRS("fax"

= fax
objRS("pager"

= pgr
objRS.update
%>
<html>
<head>
<title>Add A Contact</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="addContacts" method="POST" action="admincontacts.asp">
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">Group</td>
<td width="80%">
<input type="text" name="group">
</td>
</tr>
<tr>
<td width="20%">Title</td>
<td width="80%">
<input type="text" name="title">
</td>
</tr>
<tr>
<td width="20%">Name</td>
<td width="80%">
<input type="text" name="name">
</td>
</tr>
<tr>
<td width="20%">Location</td>
<td width="80%">
<input type="text" name="location">
</td>
</tr>
<tr>
<td width="20%">Phone</td>
<td width="80%">
<input type="text" name="phone">
</td>
</tr>
<tr>
<td width="20%">Fax</td>
<td width="80%">
<input type="text" name="fax">
</td>
</tr>
<tr>
<td width="20%">Pager</td>
<td width="80%">
<input type="text" name="pager">
</td>
</tr>
</table>
</form>
</body>
</html>