well i still haven't figured out how to do this properly yet. this is the code that i'm using just to test to see if it will work: <%@ language = vbscript %><% dim objcomm, dataconnset dataconn = server.createobject("ADODB.Connection")dataconn.open "DSN=intranet;uid=intranet;pwd=intranet"Set objcomm = Server.CreateObject("ADODB.Command")objcomm.ActiveConnection = dataconnobjcomm.CommandText = "Forum_Access" objcomm.CommandType = adCmdStoredProcobjcomm.Parameters.Append objcomm.CreateParameter("@forumID", adInteger, adParamInput, 4, 1) objcomm.Parameters.Append objcomm.CreateParameter("@userID", adInteger, adParamInput, 4, 1) objcomm.Parameters.Append objcomm.CreateParameter("@code", adInteger, adParamOutput, 1) objcomm.execute%><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#FFFFFF" text="#000000"><%=objComm.Parameters("@code")%> </body></html> i keep getting errors on these lines: objcomm.CommandText = "Forum_Access" objcomm.CommandType = adCmdStoredProc
could you guys please tell me what is incorrect with my code? this is really bugging me.thanks heaps.http://www.users.bigpond.com/thefullmontybronty