|
-
Feb 18th, 2006, 05:15 AM
#1
Thread Starter
New Member
[RESOLVED] Date format in flexgrid from mdb
Hi,
I retrieve a recordset from mdb file using ADO and SQL 'select... from...' and use it to populate a flexgrid. My problem is that I simply can't find a way to get the date format into a dd-mmm-yy format! Can anyone help, please? Converting the flexgrid after it is populated is simply not an option due to size and time. I have also looked for a date format function to be used in SQL statement in my SQL book, unfortunately it only listed function for Oracle which do not work in my environment. This may be the way to go, if I can find the right function.
Thank you....
-
Feb 18th, 2006, 06:33 AM
#2
Re: Date format in flexgrid from mdb
Did you try format(date, "dd-mmm-yy")?
-
Feb 18th, 2006, 11:06 AM
#3
Thread Starter
New Member
Re: Date format in flexgrid from mdb
Yes, it works, thank you! Actually I tried it earlier but it did not work before, maybe because of wrong typo or something.
-
Feb 18th, 2006, 11:07 AM
#4
Re: Date format in flexgrid from mdb
No prob, and Welcome to the forums
Remember to select "Mark thread Resolved" in the thread menu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|