-
Hi Mik,
When you created the form did you do so from a SQL connection? Was the main data source created from the database schema, or is it something you created? In general, you will have to set a query field and programmatically (via rules) call the SQL query adapter. This assumes that you use a main data source which was created from the DB. If ...
-
Hi Rilliam,
We have a tool to do this. Check out:http://www.infopathdev.com/webstore/detail.aspx?itemid=15
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Well, button controls won't be read-only since they don't have a text input field. For the others, you should be able to click properties on the text field and set to read-only.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Some questions: Are you using your Main Data Source for the DB connection? How are you populating the field from AD? Is it code or are you using an AD Web service (like the one we provide)?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Thierry,
You asked for a C# solution! :) Sure, you can filter with XPath. In fact Greg has several articles on how to do this. Search for ''filter repeating table''. Here's one sample:http://www.infopathdev.com/downloads/free/default.aspx?i=8af4f44352a4457fbb28c6c5e6319178
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi DRobins
Put the control in a section. Double click on the section and go to Display tab. Click conditions and add a condition based on the true-false field you have in your main data source.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Jay,
Good question! Can you design a simple repro scenario that we could test here? Just the steps you did to set things up?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Mark,
Sorry for ignorance, but what's the DDL control?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Tatopitta,
Welcome back from The Holy Daze. So, what was the resolution?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Paul,
Thanks for posting your resolution!
Patrick Halstead [InfoPath MVP]
InfoPathDev