-
Hi there -- is this form bound to a database? Where does the info for the repeating table come from?
-
It is really easy to accidentally add code to a form by adding an event handler, too.... you can go to Tools / Form Options / Programming (IP 2007) and select Remove Code -- the button will only be enabled if there is a code file associated with your form.
-
Hi, and welcome...
In C#, in your OnLoad (IP2003)
thisXDocument.IsReadOnly
Or in Loading (IP2007)
this.ReadOnly
Either of these return a boolean value of True if the document is read only and false if it is not. You could add a field to your form data source (or a secondary data source) and in your loading code you could set the ...
-
Word Print views are tough. Is there any way a print view in InfoPath could suit your needs? You can create a print view for a view in a form and only put the fields you want to have print on it....
-
HI -- can you explain more about what you are doing? Is the form name currently a formula that isn't calulating for some reason?
-
What was the conditional formatting you used? Is ID blank until a new 'Report' is added to the DB?
-
You got it -- save the form as source files, open manifest.xsf with a text editor and use find and replace to update your data connections. Make a copy first!
-
Hope I'm not oversimplifying, but could you just add a filter to the repeating table or section to not display if the Report Id is populated? I'm guessing you have that field set up as an identity in Access (not sure -- I use SQL, but I'm guessing Access has ID columns that auto increment?)
-
What version of IP are you using? This post has Javascript information. Also, this post has C# for the Infopath 2003 object model.
-
Create two repeating tables bound to the group with the SharePoint data. Then you can add filters to each table -- per your example above, you'd filter one to display where Job# = 123 and the other to display where Job# = 789....