|
-
Sep 14th, 2000, 08:27 AM
#1
Thread Starter
Fanatic Member
Ive got an error in my vb module saying:
"object variable or with block not set"
What does this mean??heres my code below:
Public Sub Fetch_GeneralAdmin()
Dim objFetch_GeneralAdmin As New DCGeneraladmin.DcGeneralAdminClass, mysql As String
Dim rs As New ADODB.Recordset
Set rs = objFetch_GeneralAdmin.Fetch_GeneralAdmin
On Error Resume Next
g_objSC.Response.Write "<TABLE><TR><TH>General Admin</TH></TR>" & vbCrLf
rs.Open
g_objSC.Response.Write "<TR><TD>Claim Date Range</TD><TD><input type=text id=txtclaimdaterange name=txtclaimdaterange maxlength=20 value=" & rs.Fields("claimdaterange") & "></TD></TR>" & vbCrLf
g_objSC.Response.Write "</TABLE>"
rs.Close
Set rs = Nothing
Set objFetch_GeneralAdmin = Nothing
Err = 0
End Sub
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
|