2 Replies Latest reply: Feb 18, 2014 3:41 AM by Robert Svebeck RSS

    Inputfields: to set inputfield values based on the current selections

      Hi,

      I am currently working on an application which requires users to input values in the inputfield in a table.

      Does anyone has experience to use macro to set inputfield values automatically based on the current selections?

      if it is possible to create a function to allow user to set the input field values to certain values based on the current selections.

       

      I searched the API guide and found the following function, but it only set one value of my inputfield.

       

      set fld = ActiveDocument.Fields("Budget")

      fld.SetInputFieldValue 0, "999"

       

      thanks a lot

      PJ