<% id=Request.QueryString("id") Set connection = Server.CreateObject("ADODB.Connection") connection.Open("customers") SQL="SELECT * FROM Notes WHERE ID_Customer like '"&id&"' ORDER BY Actual_Date;" Set list=connection.Execute(SQL) %> Cellular Advice NI LTD

Customer's Note List

List of note(s):


<% Do while NOT list.EOF ' We don't show the time in the short view of the notes sdate=Left(list.Fields("Actual_Date"),10) ' We cut the content if it's longer than 50 characters scontent=list.Fields("Content") If len(scontent) > 50 then content=Left(scontent,47) scontent=content&" ..." End If Response.Write("") Response.Write("") Response.Write("") Response.Write("") list.movenext() Loop %>
DateContent  
"&sdate&""&scontent&" " & "


 


©2005 Cellular Advice NI LTD

<% connection.Close() %> e-REdING. Biblioteca de la Escuela Superior de Ingenieros de Sevilla.


SISTEMA DE INFORMACIÓN INTEGRAL PARA EMPRESAS APLICANDO TECNOLOGÍAS DE INFORMACIÓN Y VPNS

: Salvago Hidalgo, Raúl
: Ingeniería Telecomunicación
Contenido del proyecto: