OK, I don't mean to sound dumb, but.......
Again, I have been working on my form all day. I can add a field to my main
data connection and it still works.
My Problem is this: in the example on the site that you referenced, it
states that the main connection should be the Query (TasksSortedByDate),
however My Main connection is the actual table that I want info written back
to.(tbl_MeetingsActivity). -- This is a Menu driven application in InfoPath
and now I am setting up a button on the Menu for Reports. I have a detailed
report that lists all entries. I am now trying to get a report by Fiscal
Year and it only gives counts for the FY. I can do that fine in Access,
however I am trying to get it to work in InfoPath. The site you gave me is
helpful, however when I try to do this report by 2 different dates I am still
unsuccessful. I connected to the TasksSortedByDate) as a secondary
connection and I can get a list with the counts when I run this. But I want
the user to be able to enter 2 dates and the report generates with only the
counts for that timeframe. I cannot add the fields (startDate and endDate)
to the Secondary connection, but I was successful in adding them to the Main
Connection. My query is already set up to count by Tasks but I still cannot
get the Dates.
Am I asking too much?
Thanks for any help you can give me.
MEG
S.Y.M. Wong-A-Ton said:
No, adding the extra fields should not mess up your form; you should still be
able to write back to the database.
---
S.Y.M. Wong-A-Ton
Meg said:
Thank you very much, this site definetly helped, However I still have a
question???
I already have a form and a main connection to my database in which InfoPath
writes back to that database. If I add a Field to that table in Access
(MyDate field) Is this going to mess my InfoPath Form up?
Will I still be able to Write back to it??
Help please!!!!
S.Y.M. Wong-A-Ton said:
Try using the technique described in this article:
http://enterprise-solutions.ikreate.nl/infopath2003/filter-repeating-table-date-range-rules.htm
---
S.Y.M. Wong-A-Ton
:
In Access I can query on 2 date fields by doing the following:
Between [Begin Date "Example 10/01/07"] And [Completed Date "Example
09/30/08"]
However, when I try to connect to this query in InfoPath it won't let me.
So I took this out and I can connect to the query
The query in Acces is by Status and Type and it does a Sum of Producers and
a Sum of Total Attendance and does a count by Type. I want the form to ask
the user for the Begin Date and an End Date. But I can't figure out where to
put that in on InfoPath.
Can anyone help?
thanks,