-
Hi:
Some of this has to be answered with 'it depends'. Are your current forms saving their data in SQL or Access? Or are they simply published to SharePoint?
If you have data in SQL, you can create secondary data connections to return that data to a different form. You can also connect an Excel spreadsheet to your data table, for ...
-
Well, do you want the section to print only if the user has added it? Or do you want it to print regardless...? You see, that setting for the section is data source specific, not control specific. Some settings for controls have to do with the control itself (like formatting, or secondary data sources that provide information for a drop down ...
-
Hi:
What does your code look like thus far? How do you know how many new rows you need to add? Is this based on another data connection, or something the user enters?
-
Sorry for the delay on getting back to this thread! I'm confused as to what multiple submits have to do with this? At any rate, you can submit using rules, and set up multiple submit data connections and use rules and conditions to choose which connection to submit with. What do you mean by 'nothing shows on the front end'? Where are ...
-
Hi:
Could you select the 'Edit xpath' checkbox in the formula editor and paste the results here? And maybe provide a little more info? The text box is supposed to display the Name from the secondary data source based on the ID selected in the first list box? And this formula is going in a rule on the field that the first list box is bound ...
-
Hi:
Are you using VB.NET? InfoPath 2007 would be, in the loading event for the form:
e.SetDefaultView("View2")
With View2 replaced with the name of your view. InfoPath 2003 would be, in the onload event for the form:
e.XDocument.ViewInfos("View2").ISDEFAULT=True
-
this.Close(); will close the form.
-
What version of InfoPath are you using? 2003 or 2007? C# for your code?
-
Wonderful! Yes, walking throught the data connection wizard does refresh the schema. I'm glad this worked for you -- it can be a real time-saver.
-
First, under Tools / Form Options set your programming language to JScript.
Then, make sure your data connection that is timing out isn't set to query on load. When you walk through the data connection wizard, this is an option on the last screen -- a checkbox that says "Automatically retrieve data when form is opened"
Next, ...