Results 1 to 4 of 4

Thread: [RESOLVED] Date format in flexgrid from mdb

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    10

    Resolved [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....

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Date format in flexgrid from mdb

    Did you try format(date, "dd-mmm-yy")?

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    10

    Thumbs up 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.

  4. #4
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    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
  •  



Click Here to Expand Forum to Full Width