-
I guess I find it a bit easier for troubleshooting, because I don't have to publish the form out after making changes. Well, the error is basically saying that you are asking for an input parameter in your code that you aren't providing when you open the form. From the command line, you need to be sure to have a space after infopath.exe, ...
-
Check out this post, about using Eval and Concat to create a string from a repeating group. Let me know if you need help with this, and welcome to the forum!
-
Well, the Main Data Connection to SQL or Access is used when you want to create a form that can query from and submit to a database. InfoPath doesn't have any native support for creating secondary submit connections to a DB. You can, of course, build or buy a web service for submitting your form data to a DB if the form was not originally ...
-
Hi, and welcome!
Will the form open in design mode (right click the .xsn file and select Design)?
-
Right, I understand that. I was just thinking for troubleshooting, that I'd try to save the form locally and use the input parameters from the command line to see if it worked.
-
Do you get the error when you use the command line input parameters switch?
-
Hi --
The Main Data Connection doesn't retrieve data on load, so unless you have something else set up to run the query, your ddl with values from the main data source will be blank.
You can add a rule to the form to query using the Main Data Connection. You may or may not want to do this -- if your data table has a lot of columns, ...
-
Hi, Catharine:
If you uncomment your try/catch, and add a message box to show the error caught (MessageBox.Show(ex.Message)), do you get an error?
If you try opening the form from a file location (like a local folder) using the command line with the /Input Parameters switch, do you have different results? (This link has more info on the command ...
-
Hi, and welcome!
You can use e.NewValue to get the new value of the combo box in the onAfterChange (or, for IP2007, Changed) event.
-
Hi--
Your picture node has the xsi:nil attribute on it, I'll bet, and you'll need to remove that to set its value and not get an error.
Try these links for some ...