-
Hi, Jimmy --
Phil actually ended up re-creating his form. Originally, the form had been based on a database, which is why he had those namespaces on his main connection. Is it possible to map a template that has a main data source that is connected to a database? Just curious.....
-
I would think that EWC-Code[Waste = current()/@Material_Category] would work.... but I'm sure your've tried that. I find it very perplexing that your formula with current() works when you change the control type....I'm sure you do, too! You do have the checkbox Update this value when the result of the formula is recalculated selected, ...
-
I'm sorry -- I should have read the question more carefully. Microsoft.Office.Interop.InfoPath is in the GAC, too -- I'm not certain how to find the path, but this KB from Microsoft has information on adding assemblies to the Add Reference dialog.
-
Hi, and welcome:
On my machine it was in the GAC -- here is how I found the path. I created a new InfoPath form (not attached to Visual Studio) and under Tools/Form Options/Programming, selected C# (Infopath 2003 Compatible). Then I opened VSTA and selected the reference and copied the path ...
-
Hi, Gary:
What field is the drop down list bound to? Not the values, but the list itself? Is @MaterialCategory from your main data source? Is Waste the field with the value you'd like to place, filtered, into @MaterialCategory? Is the formula in the default value for the text box bound to @MaterialCategory?
Sorry for all the questions -- but ...
-
What about an Open rule -- under Tools/Form Options/Open and Save.
-
Hi, Phil:
For the NodePath for each node you mapped, did you select the node from the task pane or type it in? A screen shot of your form data source and your Database Mapping tab from DAT might help...
-
Okay, using VB.NET and IP2007:
' Get the e-mail submit data connection configured for the form.
Dim mySubmit As EmailSubmitConnection = DirectCast(Me.DataConnections("Main submit"), EmailSubmitConnection)
' Set To property to literal string value.
mySubmit.To.SetStringValue("someone@example.com")' Submit ...
-
I'm sorry, I shouldn't have abreviated. Are you using InfoPath 2003 or InfoPath 2007?
-
Well, I've not actually done this -- only read about it in Patrick's book (which I reallly recommend -- it is loaded with information and samples). The general structure suggested in his sample is to use the HEAD method of System.Net.HttpWebRequest to see if the file exists -- but I wonder.... What about adding a date to your form (you ...