Need help with Date Picker and filter - InfoPath Dev
in

InfoPath Dev

Need help with Date Picker and filter

Last post 09-03-2009 02:06 PM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-03-2009 10:33 AM

    Need help with Date Picker and filter

    I have a repeating table with a date picker.  I need 2 things:
    1. When the form loads I would like the dates to be listed in sequential order from old to new.  Right now users can enter dates randomly and the entries remain in that order.
    2. On another view I have drop-down filter that searches the repeating table by the date picker field.  My problem is the date is in the drop-down list reads as yyyy-mm-dd, but I would like it to read mm/dd/yyyy.  The date picker format is mm/dd/yyyy.  Can this be done?

    Any help would be greatly appreciated.

  • 09-03-2009 02:06 PM In reply to

    Re: Need help with Date Picker and filter

    For #1, if your form does not have code, you can inject it with qRules and use the SortTable command to sort your rows according to the dates. Otherwise, I believe you'll need to write your own code.

    For #2, for the date picker you can change the way the date is displayed, but the xml stores it a different way. Then the dropdown will display it the way it is stored in the xml. You might be able to translate the stored xml date via rules. I'm not sure of the exact rules needed, though...

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.