<%
OpenConnection1
Set rs=Server.CreateObject("ADODB.Recordset")
Sel="SELECT * FROM Requests WHERE RequestID=" & RequestID
rs.Open Sel,DB,1,3
If rs.EOF then Response.Redirect("SMInquiries.asp")%>
| Name: |
<%=rs("txtName")%> |
| Email: |
" title="Click here to send an email to <%=rs("txtName")%>" style="{text-decoration:none; color:rgb(0,0,0)}"><%=rs("txtEmail")%> |
<%If trim(rs("txtTitle"))<>"" then%>
| Title: |
<%=rs("txtTitle")%> |
<%End If%>
<%If trim(rs("txtOrganization"))<>"" then%>
| Organization: |
<%=rs("txtOrganization")%> |
<%End If%>
<%If trim(rs("txtStreetAddress"))<>"" Or trim(rs("txtCity"))<>"" Or trim(rs("txtProvince"))<>"" then%>
| Address: |
<%If trim(rs("txtStreetAddress"))<>"" then
Response.Write rs("txtStreetAddress") & " "
End If%>
<%If trim(rs("txtCity"))<>"" then
Response.Write rs("txtCity") & ", " & rs("txtProvince") & " "
End If%>
<%If trim(rs("txtCountry"))<>"" then
Response.Write rs("txtCountry") & " " & rs("txtPostal") & " "
End If%>
|
<%End If%>
<%If trim(rs("txtPhone"))<>"" then%>
| Phone: |
<%=rs("txtPhone")%> |
<%End If%>
<%If trim(rs("txtFax"))<>"" then%>
| Fax: |
<%=rs("txtFax")%> |
<%End If%>
<%If trim(rs("txtURL"))<>"" then%>
| URL: |
<%=rs("txtURL")%> |
<%End If
If Trim(rs("txtBusiness"))<>"" then
txtBusiness=rs("txtBusiness")
Else
txtBusiness="Not Specified"
End If%>
| Business: |
<%=txtBusiness%> |
<%If Trim(rs("nEmployees"))<>"" then
empno=Trim(rs("nEmployees"))
Else
empno="Not Specified"
End If%>
| Employees: |
<%=empno%> |
<%
If Trim(rs("txtProduct"))<>"" then%>
| Product: |
<%=rs("txtProduct")%> |
<%End If%>
<%If Trim(rs("txtInquiry"))<>"" then%>
| Inquiry: |
<%=DisPrepText(rs("txtInquiry"))%> |
<%End If
archive=rs("booArchive")
rs.Close%>
|