Forgive me if I'm over-simplifying my response...
If this is all in the main data source, it sounds like a job for a master/detail control. If these are secondary data sources, you cannot use this control.
Either way, you should be able to change a setting on the "main" table to not allow insert/delete, while still allowing it on the "detail" table.
--
Greg Collins [InfoPath MVP]
Please visit:
http://www.InfoPathDev.com
Greg -
I will try that but also looking for your recommendation.
I have a main table and a detail table both in Access for additional
reporting. I have project main records and want to enter status for each
project each week. I want to select 1 record from the main table (i.e, list
box1) and then update a few text boxes with the main information based upon
this selection.
Then, I want to insert new records into the detail table but not the main
table. It is a one to many between the main and detail. How can I only
insert records into the detail table?
There is a clientID that is the key between the tables.
I can get each to work independently -
1. new records into detail when it is the main source but not update the
text fields to display the master record
2. Display the main record based upon list box selection but not insert a
new record into the detail
BUT NOT TOGETHER - any suggestions! This seems so simple... but obviously I
am missing something. Any help is appreciated.
Greg Collins said:
Filtering is supported on secondary data sources *IF* you add it manually to the .xsl file. You can create the basic filtering on a main data source table, then copy it in Notepad to the secondary data source table, making the necessary adjustments to that the XPaths are correct.
Sorry... unfortunately in the current version, secondary data sources are second-class citizens and are missing much of the useful functionality we enjoy with the main data source.
--
Greg Collins [InfoPath MVP]
Please visit:
http://www.InfoPathDev.com
I have a repeating table bound to a secondary data source. The filter data
property off the Display tab is not available. If I add a repeating table
based upon the main data source the filter option is available.
I am trying to filter a repeating table based upon values in a drop down
list box.
Please help