:: Forum >> Version 2 >>

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>
bodyhtml {margin:0pxpadding0pxoverflowhidden;fontmenu;bordernone;} </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 cnrsdsnorecordset
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
Wednesday, November 16, 2005
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
Wednesday, November 16, 2005



This topic is archived.

Back to support forum

Forum search