Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Cant get right data format


Message #1 by "Tim Maher" <tim.maher@s...> on Thu, 27 Feb 2003 11:13:24 +0000
my function :

date2 = Format(rs.Fields("DISDATE").value, "dd/mm/yyyy")
     
is returning dd/mm/yy     !!!!!!!!!

not dd/mm/yyyy which I need!!!!!!!!

HEEEEEEELLLLLLPPPPP!!

tim


This e-mail transmission is strictly confidential and intended solely 
for the person or organisation to who it is addressed.  It may contain 
privileged and confidential information and if you are not the 
intended recipient, you must not copy, distribute or take any action 
in reliance on it.  
If you have received this email in error, please notify us as soon as 
possible and delete it.
This e-mail has been scanned using Anti-Virus software, however, 
Swansea NHS Trust accept no responsibility for infection caused by 
any virus received on the recipients system.



Message #2 by "Gregory Serrano" <SerranoG@m...> on Thu, 27 Feb 2003 13:08:18
Tim,

<< date2 = Format(rs.Fields("DISDATE").value, "dd/mm/yyyy")
     
is returning dd/mm/yy >>

First check:  If date2 is a textbox on a form, check its format and input 
mask properties to make sure they are consistent with your formatting 
statement.  They may be overriding it.

Greg

  Return to Index