Help with sample form's table - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Help with sample form's table

Last post 06-21-2006 08:30 AM by Carolyn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-21-2006 06:38 AM

    Help with sample form's table

    Hello,

    I am new to Infopath and have a question. The MS sample form "Applicant Rating" contains a optional section with a table uses option buttons for integer values. I would like to know how the "average" formula works in the from. Is it coded? Any clues I would like to make a similar form for rating performance. Thank you in advance.

    S Yoshida
  • 06-21-2006 08:30 AM In reply to

    Re: Help with sample form's table

    quote:
    Originally posted by syoshida

    I would like to know how the "average" formula works in the from. Is it coded? Any clues I would like to make a similar form for rating performance. Thank you in advance.


    Yes, it is in code. The sample is in Jscript.

    You can find it by going into the Design phase, then click Tools/Programming/Microsoft Script Editor. That will take you to the Jscript page. Look for something that starts with "function averageGroup(xmlNode)".

    Now, since you are just starting, the big question is what programming language do you prefer to work with? InfoPath has two available: Jscript and VBscript. Since I use VBA in Excel and Access, I started out trying to write script in VBscript. I found that very confusing, and in looking for script samples on the Internet, I found many more examples in Jscript.

    I abandoned both and hooked my InfoPath up to Visual Studio, where I have the much more powerful VB.net language to work with. I prefer VB.net and have been very happy with it.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.