Infopath Controls - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Infopath Controls

Last post 10-21-2004 11:19 AM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-20-2004 03:30 PM

    Infopath Controls

    I have created an Infopath form and I am writing a procedure in vbscript to do some calculations. In order to complete the calculations, I need to use the values from my form's drop down list box and text box. How do I access the form controls' values/properties in Infopath with vbscript?

    (ex: with Access one would use VBA to do it like this: )application.forms(0).controls(0).value

    How do I do it in Infopath? Thanks!
  • 10-21-2004 11:19 AM In reply to

    You need to use the XML Object Model and XPath to access your values. You have a field to which the drop-down list is bound. That field holds the selected value of the drop-down list.

    So you would do something like:


    Greg Collins [InfoPath MVP]
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.