<% 'Recuperamos las variables ridioma = request.querystring ("idioma") if ridioma = "" then ridioma = 1 End if ' Conectamos strConexion = "DSN=soydigital.net.biomed" 'strConexion ="DRIVER={Microsoft Access Driver (*.mdb)};" 'strConexion = strConexion & "DBQ=" & server.mappath("/www.biomedpharma/Bases/biomed97.mdb") 'strConexion = strConexion & "uid=;pwd=;" Set Conexion = Server.CreateObject("ADODB.Connection") Conexion.open strConexion 'Consultamos la tabla faqs que contiene las Faq Set rstFaq = Server.CreateObject("ADODB.Recordset") sql = "SELECT * FROM Faqs" sql = sql & " ORDER BY Fecha DESC" rstFaq.Open sql, Conexion, 1 %> La tienda virtual de biomed/faq

A continuacion se presentas las respuestas a las preguntas mas frecuentes:
<%if rstFaq.EOF then%> <% else Do while not rstFaq.EOF%> <% ' Siguiente registro rstFaq.MoveNext Loop %>
No hay Faqs disponibles en este momento.
Disculpe las molestias
<%= rstFaq ("Fecha") %>
<%= rstFaq ("Pregunta") %>
Respuesta:  <% 'Para distinguir punto y aparte del punto y seguido Dim Pos, textotemp, texto Pos = 1 textotemp = "" texto = "" textotemp = rstFaq ("Respuesta") Do while not Pos = 0 Pos = InStr (Pos + 1, textotemp, Chr (13)) If Pos <> 0 then texto = texto + Left (textotemp, Pos) texto = texto + "
 
" Pos = Pos + 1 textotemp = Right (textotemp, Len (textotemp) - Pos) Else texto = texto + textotemp End if Loop %> <% = texto %>
<%End if 'Cierre de la base de datos rstFaq.Close Set rstFaq = Nothing %>
 
 
 
 
Si desea obtener información legal, de compra o política de seguridad de esta web: Información General.

Copyright - 1999, Biomed - Pharma S.L. Tenerife , info@biomedpharma.com

C/ Angel Guimera 41 , 38003 Santa Cruz de Tenerife - Tel. 922 53 17 17 - Fax. 922 532675