-
You don't when using "C# (InfoPath 2003 Compatible)". You need to use "C#" and not "C# (InfoPath 2003 Compatible)". They are very different programming models. The one you have currently selected knows nothing about "MainDataSource".
-
The control you are looking for is the Repeating Choice Group and inside that, the Choice Section.
-
First, nodes have two useful properties (well really just the one): .text and .nodeTypedValue. Basically the first is useful and the second does essentially the same thing. So trying to set .date (which doesn't even exist) won't help you.
Second, XML expects date in the sortable format, which is "yyyy-MM-dd", so setting a ...
-
I normally just use "MainDataSource" rather than "this.MainDataSource" and it works just fine.
Double-check in your Tools | Form Options | Programming dialog box to make sure you are set to "C#" and not some other option.
-
What recent changes have occurred on the server? Sounds like the SP installation might have gotten messed up.
-
You would need to copy it all into the main data source if you want it to hang around offline after save.
However, if you are using InfoPath 2007--the caching feature is built right into the creation of a data connection. There is a check box in the second to last page which lets the SP List data be cached for offline.
-
Blank is typically a very useful value so that the user can choose no option at all. If you need to, you can set a default value on that field to which the drop-down control is bound and the user will be presented with that default value. If you absolutely don't want the blank option, you can either write code to prevent users from selecting ...
-
I'm not aware of any incompatibilities between InfoPath 2003 and Outlook 2007. Perhaps someone else can address that issue.
-
Brad87,
The feature Clay refers to is on the second to last page of the data connection wizard. There is a check box labeled "Store a copy of the data in the form template". Be sure the select this check box.
When you open the form offline, a dialog box will appear stating that it failed to connect to the data source and ask ...
-
katies12,
Your code fails to take into account relative XPaths. They are all using absolute XPaths. Relative means from the point of origin, while absolute means from the top/beginning.
Also "append.Child" doesn't exist, whereas "appendChild" does. I think this might have just been a typo on your part.
I'm justing ...