-
I'm suprised it ever worked. The View object doesn't exist until the OnLoad event handler has completed.
A better option is to use Open Rules (see Tools | Form Options).
Or, within the OnLoad event handler, you can use something like:
XDocument.ViewInfos(''View B'').IsDefault = true;
-
Two things:
1. As I understand it VS2005 requires .NET 2
2. Make sure that there's not an infopath.exe.config file in the same folder as infopath.exe. If so, rename it.
-
According to the schema structure you showed, there should be no namespace prefix for tblStaff. That would make your selection as follows:
thisXDocument.DOM.selectSingleNode(''//dfs:myFields/dfs:dataFields/tblStaff/@Designation'').text
But if this doesn't work, then I suspect that there is a different namespace being used. You will need to find ...
-
I seem to recall running into this before, and that it was a ''context'' issue.
If I recall correctly, the solution was to put a containing section around each of the inner repeating sections.
-
I have a parent table, Medical_Exam, and probably 6 child tables, Knee_Exam, Elbow_Exam, etc. The Medical_Exam table has a one-to-many relationship with each on of the child tables. And the child tables are not related to eachother.
In Infopath, each child table is in a repeating section. By default, there is no entry for the child exams. ...
-
Thank you! That was exactly what I was looking for!
-
Rokp, Virgul merci beaucoup pour vos réponses. :-)
Deux points à éclaircir cependant:
- PDF :
Le but a atteindre est que l'utilisateur n'est qu'a remplir le formulaire et à cliquer sur 'Envoyer'.
Y a-t-il un moyen pour qu'Infopath génère automatiquement le PDF et l'envoie au prestataire afin que l'utilisateur ai le minimum d'opérations à sa ...
-
Thanks for the 'Welcomes' & responses.
OK I got it down to the MSXML thing...now I'm wondering if there's a certain version of MSXML that is used by default....for example MSXML 4.0 DOM Parser, or MSXML 4.0 SAX Parser, or something else. Any thoughts?
-
quote:Originally posted by Taffman
Obvious when I think about it now ;-)
I think that's why I was so confused. Congratulations on figuring it out!
-
Matt I dont think that would work either, as far as I can tell you can only have one submittable sql data connection. You can create more sql connections but they will be receive only connections