> Thank you Wong but it still gives me the same error. It should be something
> so easy, but I cannot work out where the error is.
[quoted text clipped - 15 lines]
> > ---
> > S.Y.M. Wong-A-Ton
Wong,
Sorry for my ignorance but I don't know how to pass a parameter to the
function. My objective is to get a basic understanding of how this works and
then contract someone to prepare the forms we need, but I need at least to be
able to do something as easy as this if I want to understand what can be done
with InfoPath and XML.
Thank you for your time.
Marc
> Got it! You're calling
>
[quoted text clipped - 12 lines]
> ---
> S.Y.M. Wong-A-Ton
S.Y.M. Wong-A-Ton - 19 Mar 2006 19:28 GMT
To get to know more about programming with JScript, go to
http://msdn.microsoft.com/library/en-us/script56/html/0441e1e5-34e4-4d32-b188-f7
fc35613478.asp?frame=true
When you call AddTotalAmount() you need to pass a parameter, in this case it
is expecting an XML node like this:
AddTotalAmount(myNode);
where "myNode" is the parameter. I'm not familiar with your scenario, so
you'll have to figure out what the XML node is that the function expects.
If you want to explore the full capabilities of InfoPath, you'll need to
have previous programming experience with JScript, VBScript, or a .NET
language, as well as know XML, XSLT, and XPath, and a little about databases
and web services.
---
S.Y.M. Wong-A-Ton
> Wong,
>
[quoted text clipped - 24 lines]
> > ---
> > S.Y.M. Wong-A-Ton