Infopath and Julian dates - InfoPath Dev
in

InfoPath Dev

Infopath and Julian dates

Last post 08-13-2009 02:44 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-12-2009 05:32 PM

    • moggy
    • Top 150 Contributor
    • Joined on 06-22-2009
    • New Zealand
    • Posts 62

    Infopath and Julian dates

    I have sql server database which is a secondary datasource

    I am looking at one table only in the database. It has one column which is defined as int, but contains a Julian date (nb a true Julian date not the microsoft version)

    I need alter the either the datasource itself (preferable) or filter a list box so that it pulls a list from the table but only for records newer than a certain date as there are too many records returned.

    Any idea how to do that?

     

    I am trying not to use code to  do it.

  • 08-13-2009 02:44 PM In reply to

    Re: Infopath and Julian dates

    Hi Moggy,

    Could you add a rule to your form that sets a value based on calculating the integer for the lower bound Julian date and use that in your Query? Default SQL query in InfoPath doesn't give you the ability to filter server side so you may need to create a Web Service to take the parameter and run a stored procedure to return just the values you care about. Or, you can install a free trial of WSSP (our ultra-cheap Web Service that does the same thing). Of course, you could pull all the data down and filter client side but that has the performance implications you allude to. Here's a link to WSSP: http://www.qdabra.com/en/products/DBXL.aspx.

    May the force be with you,

     

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