guys can you please help me on this ? im creating a program (client based) and as i view the page it gives me an error "Object Required:server". What does this mean ? Here's a part of the page im working on...
<html>
<head>
<title>PC Inventory System</title>
<script language="VBScript" RUNAT="server">
<!--
sub cmdbrowse_onclick
dim Conn, RS, strConn, sqlStatement
Set Conn = server.createobject("ADODB.Connection"
strConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="
strConn = strConn & server.mappath("..\ken\pcinvsys\sample.mdb" & ";"
Conn.Open
Set RS = createobject("ADODB.Recordset"
RS.activeconnection=Conn
rs.Cursortype=2 'adOpenDynamic
sqlStatement = "Select * from PCINV Where Users=""E. LOPEZ"""
RS.open sqlStatement
end sub
-->
</script>
</head>
<body>
<!--<OBJECT ID="DBGrid Control" WIDTH="100%" HEIGHT="100%" align="middle" NAME="grid" CLASSID="CLSID:00028C00-0000-0000-0000-000000000046">
</OBJECT> -->
<HR>
<!--<form method="POST" action="view.asp">
<p><input type="submit" value="View" name="View"></p>
</form> -->
<form>
<center>
<!--<input name="cmdbrowse" type="Image" title="View the contents" src="./img/icons/table.ico" width="40" height="40"> -->
<input name="cmdbrowse" type="Button" title="View the contents" Value="BROWSE" width="40" height="40">
            
<input name="cmdadd" type="Image" title="Add to the table " src="./img/icons/folder04.ico" width="40" height="40">
            
<input name="cmdedit" type="image" title="Edit the selected record" src="./img/icons/pencil01.ico" width="40" height="40">
            
<input name="cmddelete" type="Image" title="Delete the record(s)" src="./img/icons/delete.bmp" width="40" height="40">
            
<input name="cmdupdate" type="Image" title="Updates the table" src="./img/icons/save.bmp" width="40" height="40">
</center>
</form>
</body>
</html>
<html>
<head>
<title>PC Inventory System</title>
<script language="VBScript" RUNAT="server">
<!--
sub cmdbrowse_onclick
dim Conn, RS, strConn, sqlStatement
Set Conn = server.createobject("ADODB.Connection"
strConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="
strConn = strConn & server.mappath("..\ken\pcinvsys\sample.mdb" & ";"
Conn.Open
Set RS = createobject("ADODB.Recordset"
RS.activeconnection=Conn
rs.Cursortype=2 'adOpenDynamic
sqlStatement = "Select * from PCINV Where Users=""E. LOPEZ"""
RS.open sqlStatement
end sub
-->
</script>
</head>
<body>
<!--<OBJECT ID="DBGrid Control" WIDTH="100%" HEIGHT="100%" align="middle" NAME="grid" CLASSID="CLSID:00028C00-0000-0000-0000-000000000046">
</OBJECT> -->
<HR>
<!--<form method="POST" action="view.asp">
<p><input type="submit" value="View" name="View"></p>
</form> -->
<form>
<center>
<!--<input name="cmdbrowse" type="Image" title="View the contents" src="./img/icons/table.ico" width="40" height="40"> -->
<input name="cmdbrowse" type="Button" title="View the contents" Value="BROWSE" width="40" height="40">
            
<input name="cmdadd" type="Image" title="Add to the table " src="./img/icons/folder04.ico" width="40" height="40">
            
<input name="cmdedit" type="image" title="Edit the selected record" src="./img/icons/pencil01.ico" width="40" height="40">
            
<input name="cmddelete" type="Image" title="Delete the record(s)" src="./img/icons/delete.bmp" width="40" height="40">
            
<input name="cmdupdate" type="Image" title="Updates the table" src="./img/icons/save.bmp" width="40" height="40">
</center>
</form>
</body>
</html>