Tema: 252525
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/04/2002, 18:13
Avatar de ashketchum
ashketchum
 
Fecha de Ingreso: julio-2001
Ubicación: En algun lugar de un gran pais
Mensajes: 418
Antigüedad: 23 años, 10 meses
Puntos: 0
Re: 252525

Hola, pues te paso este código a ver si es lo que quieres:

<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
function DoDateTime(str, nNamedFormat, nLCID)
dim strRet
dim nOldLCID

strRet = str
If (nLCID > -1) Then
oldLCID = Session.LCID
End If

On Error Resume Next

If (nLCID > -1) Then
Session.LCID = nLCID
End If

If ((nLCID < 0) Or (Session.LCID = nLCID)) Then
strRet = FormatDateTime(str, nNamedFormat)
End If

If (nLCID > -1) Then
Session.LCID = oldLCID
End If

DoDateTime = strRet
End Function
</SCRIPT>

esto va antes del HTML y el campo lo formatas de esta forma:

<%= FormatCurrency((Recorset.Fields.Item("tucampo ").Value), 2, -2, -2, -2) %>

saludos y suerte

<img src="http://www.efrance.fr/masterASP/firma.jpg" width="466" height="79" usemap="#Map" border="0">
<map name="Map">
<area shape="rect" coords="263,41,336,52" href="http://www.efrance.fr/masterasp">
</map>