3.2.0

Please help "Active' is undefined" Error


Please some one help me to explain this error "Active' is undefined"
i'm using the activewidgets_grid function from the activewidgets.asp Library

this is the code
<%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<html>
<head>
<style>
body, html {margin:0px; padding: 0px; overflow: hidden;font: menu;border: none;} </style>
<link href="../../runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="../../runtime/lib/grid.js"></script>
<!-- #INCLUDE FILE="activewidgets.asp" -->
</head>
<body>

<%

Dim cn, rs, dsn, orecordset
dsn="DBQ=" & Server.Mappath("LIST.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};" 
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
cn.Open dsn
Set oRecordset = cn.Execute("SELECT * FROM thesis")

Response.write(activewidgets_grid("obj", oRecordset))

oRecordset.close
Set oRecordset = nothing
cn.close
Set cn = nothing
%>

</body>
</html>


Please help
Dokali
November 16,
I got that a few times last week.... Check that your paths match up correctly, that fixed it for me

I.e. the line that reads:
<link href="../../runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="../../runtime/lib/grid.js"></script>

check the '../../runtime' bit

Hope that helps =)
Mark G
November 16,

This topic is archived.

See also:


Back to support forum