CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 dd/mm/yyyy in the list box

Print topic Send  topic

Author Message
Ismael
Posted: 08/15/2003, 6:39 PM

Hi:

How can I see in the dd/mm/yyyy date format from the list box? I have set up my proyect with the dd/mm/yyyy format date.

Regards
Ismael
Edd
Posted: 08/17/2003, 10:37 PM

Your problem is that list boxes are Stings not Dates, therefore you need to convert the dates to stings. Each Database has its own string conversion for dates , e.g. Convert(Char(10), YourDate, 131) for Microsoft SQL gives you DD/MM/YYYY.

So change your date select to display the Text equivalent of the date in the Display portion of your list box.

Note CCS DOES NOT HANDLE TIMES IN LISTBOXES. If you need a full DATETIME entry you need to do some Javascript manipulation.

If you are confused about the above you can populate a a listbox manually - see CCS Help >> Examples and Techniques >> Programming >> Other >> Dynamically Set the Default Value of a ListBox

Good Luck
Edd

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.