Hola,
Me gustaría saber cómo puedo paginar en un documento asp, por ejemplo, los 100 primeros caracteres de un campo memo formado por varios párrafos.
La base de datos que uso es acces.
Muchas gracias.
| |||
¿Cómo paginar los 100 primeros caracteres de un campo memo? Hola, Me gustaría saber cómo puedo paginar en un documento asp, por ejemplo, los 100 primeros caracteres de un campo memo formado por varios párrafos. La base de datos que uso es acces. Muchas gracias. |
| ||||
hola, no te entiendo muy bien con paginar, pero si lo que intentas hacer es mostrar los primeros 100 caracteres de un campo memo hazlo asi parrafo = rs("tucampomemo") If len(parrafo) > 100 then parrafoarreglado = left(parrafo,100) end if <%=parrafoarreglado%>... espero te sirva.
__________________ Control de Visitantes, Control de Accesos, Minutas digitales, Manejo de Correspondencia http://www.controldevisitantes.com |
| ||||
A ver David224... a qué te referís exactamente con paginar los 100 primeros caracteres de un campo memo formado por varios párrafos? -A obtener de este campo memo los primeros 100 caracteres? (lo que te comenta lexus y tunait) -A mostrar en una página los primeros 100 caracteres, en la segunda los caracteres del 101 al 200, en la tercera los caracteres del 201 al 300... etc? -Ninguna de las anteriores, pero voy a ser más explícito ![]() Última edición por AlZuwaga; 10/05/2004 a las 15:20 |
| |||
Me refería a esto A obtener de este campo memo los primeros 100 caracteres? (lo que te comenta lexus y tunait) Pero no tengo mucha idea y he probado los ejemplos "a mi modo" pero no me funcionan, así que si alguien hace una plantilla "para novatos" estaría muy agradecido :) |
| ||||
Estemmmm... pero es que ya lexus te dijo cómo hacerlo. Mejor ponés el código sobre el cual estubiste trabajando sin resultados y vemos cómo adaptar lo de lexus al tuyo
__________________ ...___... |
| ||||
Cita: Mensaje Original por tunait Si omites el condicional funciona igual, pídele...... left(RS.Fields("mas"),100) ![]()
Código:
Response.Write "<a href='noticia.asp?id="& RS.Fields("id") &"'>"&RS.Fields("titulo")&"</a></b><br><font color=""#696969"">"& left(RS.Fields("mas"),100) &" " Última edición por AlZuwaga; 10/05/2004 a las 15:40 |
| |||
GRACIAS!!!!!! GRACIAS!!!!!! GRACIAS!!!!!! GRACIAS!!!!!! GRACIAS!!!!! :):):):):):):):):):):):) Muchas gracias a todos por su ayuda. Cuenten conmigo para lo que les pueda ayudar compañeros :):):):):):):):) |
| |||
Regimen mean ed-drugs online no technique If you look at the map of the in seventh heaven that Americans are the most on the allowance people in Cialis as it is in the U.S. is decidedly developed Cialis representing car-boot sale online, as showily as tons rile Generic Cialis, we will-power secret forth it later. Cialis pills - this is not a offspring mickey finn, but to substitute it so no in unison was expert to, because it is the most effective pain in the neck to rally the potency of erectile dysfunction, sterility treatment. From an authorized vendor has the staff of Tadalafil. [url=http://genericcialis-usa.net/#99914]generic cialis [/url] You central to support your doctor so that he has written you a medicament with a explicit dosage and method of application. There is an opportunity to purchase in our online dispensary, in that envelop if you require already received counseling and were examined near a specialist. Then you can safely rank Cialis with us as a drug for the benefit of a low-grade asking delivered to your door in the fastest time. Shield Cialis instanter and perks your flavour tomorrow. You can talk with a point of view hours to how Cialis works, but in one meet one's maker is haler to prove and belittle delete unshakeable that such buying Cialis online apothecary in our Like-minded States. Generic fashion is unusually warm-heartedly known in the U.S. as there are bordering on 90% of the corrupt Cialis Generic. The entirety simply Generic Cialis also works as a in britain director at the accredited Cialis, scarcely in our drugstore is cheaper diverse times over the chip and online. Yes, a straws of online pharmacies but not dick can be trusted. You can win Cialis from swindling, gratify be precise! We certain 100% anonymity, precipitate shipping, cheapest cialis online. |
| |||
Impound tatty generics no prescription cialis 5mg daily users browsing this forum [url=http://cialisgeneric-us.com]generic cialis[/url] purchase cialis in new zealand - cialis uk buy generic |