-
By the way.. if I call this code from a button it works fine but I need the date diff to be updated every time one of the 2 dates is recalculated. Is there any other way to do this?
-
Hi all,
Ok.. I am using xdExtension:CalcDateDiff() in a rule to call some code in my infopath form.The code is as follows:
public void CalcDateDiff()
{
XPathNavigator myNav = this.MainDataSource.CreateNavigator();
string dt1yr = myNav.SelectSingleNode("/my:myFields/my:orderDates/my:contractExit", ...
-
Effectivement, je viens de m'apercevoir de ça.
Cela a l'air beaucoup plus simple, merci beaucoup. Je vais tester tout de suite voir si cela solutionne le problème ;)
-
Hi,
I need to export two views of my form into one unique MHT-File. Can anyboby help me?
Thanks and best regards.
Philippe
-
Thanks for that, Im kind of getting there! I can get the lists to work with your data but when I substitute mine I am getting error messages telling me no whitespace is allowed (there are spaces in the original code e.g. Sierra 2500 HD), I have also had a message telling me that a semi colon was expected!
Can you help?
Thanks
-
Salut et bienvenue,
Euh un schéma XML c'est pas tout à fait l'image que tu nous as posté...
Pour ton problème pourquoi ne fais tu pas l'insert avec Infopath au lieu de vouloir le faire avec Javascript?
C'est beaucoup plus facile,...
Déjà il faut que tu aie ta ...
-
Hi Soham,
Yes, Gregs blog is good ofcourse, any way i too learnt some thing with this discussion.
-
Bonjour tout le monde !
Je developpe actuellement un formulaire (de demande de congés) à l'aide d'InfoPath 2007. Plusieurs champs sont demandés a l'utilisateur : deux dates , un type et eventuellement un champ de remarques. Le tout doit attaquer une base SQL Server. Et comme un schema vaut mieux qu'un ...
-
Hi robieswife2b,
See this blog, instead of drop down take lists as per your requirement.
http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Hierarchical-Data-Source.aspx
Hope this will help you.
-
Hi Shiva,
My apologies - it works all good and ofcourse Greg Collin's blog is effective if i considered case sensitives........before i forgot to use to current so the repating section was carrying over the values.
Then when i used current() i used current()/my:city instead of current()/my:City. 'C' of City should be in in caps and it all ...