Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
patroser
Partner - Creator
Partner - Creator

Reset Inputfield values

Hi there!

I got stuck with a little problem concerning my input fields.

I use them for budgeting.

I use the following macro to clear the fields.

Sub ResetInputField

' Reset the InputField

  set fld = ActiveDocument.Fields("InputFieldName")

  fld.ResetInputFieldValues 0,  0   ' 0 = All values reset, 1 = Reset Possible value, 2 = Reset single value

End Sub

Unfortunately it doesn't work on access point.
So I also already tried to reset the field within my partial reload.
But after dropping the field and rejoining it within one partial reload, the application still keeps the values of the input fields.

Is there any clear way to reset the value of the input field within the script or at least without a macro (or a macro that works on AJAX)?

Thanks in advance!

Best regards
Patrick

13 Replies
satishkurra
Specialist II
Specialist II

Thanks Sunny...

satishkurra
Specialist II
Specialist II

Hi Sunny

I figured out that we can also achieve this without bookmark.

Approach: Right click on the chart and select "Restore All Values"

Thanks

Satish

sunny_talwar

Super, thanks for sharing that. I am going to test that right away

wwistam
Contributor II
Contributor II

Hi Patrick,

Just wondering if you can share how you used input field for budgeting, to what extend. Interesting concept.

Thanks,

Will