Classic ASP DatabasesDiscuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hi,
I am trying to create a linked list box where a user selects a room number from a list box and on selection of the room number another list boxes opens up beneath it contain a list of the serial numbers in that particular room chosen by the user. If anyone has any ideas or could point me in the right direction I would appreciate it.
<!-- METADATA TYPE="typelib" 'This makes the ADO constants available without having to define them as constants. This information has been taken from page 519 of Beginning ASP 3.0
FILE="C:\Program Files\Common Files\System\ado\msado15.dll" -->
<%
Dim strConnect
Dim objRS ' Declare variable for recordset object
Set objRS = Server.CreateObject("ADODB.Recordset") 'Create the the recordset object
objRS.open "Room", strConnect
objRS.MoveFirst
%>
<HTML>
<HEAD>
<TITLE>MHCHS - Report a fault</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFF80">
<P ALIGN="CENTER"><U><B>Welcome to the Online Fault Management System</B></U></P>
<P ALIGN="CENTER"><B><B>You are logged in as a <% =session("Role") %> </B></U> </P>
<%
If Session("Role") = "Technician" Then
Response.write "<A HREF=FaultDetails.asp>Fault Reports</A><BR>"
Response.write "<A HREF=AssignedJobs.asp>View jobs assigned</A><BR>"
Response.write "<A HREF=home.asp>Log out</A><BR>"
Response.write "<A HREF=ChangePassword.asp>Change Password</A><BR>"