Greg, thanx, as ever, for that.
Now I'm really confused. What you've suggested
does appear to work, even though you said it wouldn't! I need to understand what's going on, first off.
Is it possible you slightly misunderstood my situation? You say:
quote:
but I think you'll find that worse because then the new row won't appear at all because it will be automatically filtered out!!
and:
quote:
I know of no way to dynamically tell InfoPath to have the active table NOT autofilter, while the others do.
But I don't think I've ever asked for this! Would you be kind enough to reread my description. There I said I
have ensured that any new row inserted into each of the 3 repeating tables
does get its filter value in ColumnA set correctly, initially & automatically (via
Edit Default Values for each of the 3 tables, with a different default for each one). So it seems to me the new row will
not get filtered out, nor am I asking for some tables to filter and others not. I am only asking for
all tables to "auto-filter" as soon as the user inserts, right?
I follow your suggestion of:
quote:
delete any attribute useFilter="yes" on an xsf:editWith element
which, sure enough, I found on the 3 repeating tables. Now I find that when I insert a row in one table I only get the new row in that one table. I take that to mean that removing the
useFilter="yes" causes the filter to be automatically applied immediately? Strange... If anything, I would have thought you would lose filtering completely.... As far as I can see, now everything works in all situations.
Which leaves me with two questions :) :
1. Could you
please explain what
useFilter="yes" does/is all about?
2. I have my usual problem. My work is to produce "template" XSNs for end-users --- who will have different columns etc. in the db --- to use as "starting point" for customising their forms. My end users are not smart! :( I can ask them to use IP design mode fine, but extracting files and editing with an editor is precisely what we do not want! Is there anyway to get that line not to appear from IP? And/or, if I have deleted those lines from what I supply, will any new repeating tables they add in design mode auotmatically get that line back? Why do I feel I know the answer here... :)