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
|
|
|
|