Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How Can I carryout my format in the Database to the ASP page?


Message #1 by "Enzo Zaragoza" <enzaux@g...> on Tue, 11 Dec 2001 23:03:05 +0800

This is a multi-part message in MIME format.



------=_NextPart_000_019C_01C18297.FDAF4800

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



I was wondering how to carry on the format made in the database to the 

ASP page.  Because as I have noticed the formats especially for numbers 

is not carried out the the asp page when printed.  Is there a way to 

carry out the formats from the database to the asp page?



   I have tried using format currency for my currency figures and 

definitely it worked and it displays my currency as "$0.00" but I can't 

make it format to "$0.000".



   For my numbers I have tried FormatNumbers Function and make my number 

to "0,000" but what if I want to make my numbers format to "0000" like 

for example 0001, 0020, 0130 and etcetera?



  I'm having a hard time copying the formats on my database to my asp 

page.



Thanks,



Enzo






Message #2 by "Jason Salas" <jason@k...> on Tue, 11 Dec 2001 18:02:31 +1000
This is a multi-part message in MIME format.



------=_NextPart_000_0045_01C1826E.009EB8E0

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



HI Enzo,



You'll have to include additional arguments with your functions....that 

tell the server what format to put the data in.



http://www.devguru.com/Technologies/vbscript/quickref/functions.html



HTH,

Jason

  ----- Original Message -----

  From: Enzo Zaragoza

  To: ASP Web HowTo

  Sent: Wednesday, December 12, 2001 1:03 AM

  Subject: [asp_web_howto] How Can I carryout my format in the Database 

to the ASP page?





  I was wondering how to carry on the format made in the database to the 

ASP page.  Because as I have noticed the formats especially for numbers 

is not carried out the the asp page when printed.  Is there a way to 

carry out the formats from the database to the asp page?

  

     I have tried using format currency for my currency figures and 

definitely it worked and it displays my currency as "$0.00" but I can't 

make it format to "$0.000".

  

     For my numbers I have tried FormatNumbers Function and make my 

number to "0,000" but what if I want to make my numbers format to "0000" 

like for example 0001, 0020, 0130 and etcetera?

  

    I'm having a hard time copying the formats on my database to my asp 

page.

  

  Thanks,



  Enzo




$subst('Email.Unsub').







  Return to Index