But no data is being returned!
Did you create the MS Access table and query from scratch like in the
solution or did you use your own table?
Am I missing something glaringly obvious here? ie do I need to replicate the
query using different field names within an existing table? ie Will it work
by simply basing the query on an existing table or would I simply be wasting
my time.
You need to create a query for your own table. The "trick" in this solution
is to create a query that will convert the date field in your database table
into a format that will easily lend itself to using the "less than" and
"greater than" comparison operators within InfoPath. Date comparison would
otherwise be very difficult, if not impossible, and you'd have to resort to
code.
In short, can the solution be simply dropped into any AccessDB and just work
with infopath as is.
No. Almost all of the solutions listed on my website are samples on how you
might be able to get things done in InfoPath. You need to modify them to suit
your own needs.
At root I think my difficulty is being unable to see just where the
'TasksSortedByDate' query is drawing its data from!
An MS Access query draws its data from an MS Access table. The query was
incorporated in the solution to be able to format the date field of the table
to the format "yyyy-mm-dd". If you compare the fields in the table used in
the solution with the fields of the query used in the solution, you will see
that the query returns the same fields as the table does. The only difference
is that the date field is formatted according to the specified format.