Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Inputfield issue

Hi,

I had created one input field, after reload I can able to edit the values of field. But when I reload it is not replacing with data source values.

Thanks,

Yaseen

6 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Hi Yaseen,

I also faced same issue. Hope some one can help us on this.

Thanks,

Jagan

sundarakumar
Specialist II
Specialist II

input field values lost after reload

Please refer to the above link.

Hope this helps.

-Sundar

luciancotea
Specialist
Specialist

This is the default behavior. If you need to reset the INPUT FIELD to database values, use this macro:

sub ResetInputField

     set fld = ActiveDocument.Fields("FieldName")

     fld.ResetInputFieldValues 0

end sub

Not applicable
Author

You can use trigger and reset the varible on Reload..........

Selva

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

I have had mixed results with inputfields, one time it appeared that values that were captured against one row were assigned to a different row when the data was reloaded with slightly different records.  There may have been a specific reason why it behaved odd in this case - but the upshot is that I don't trust them too much.

If any data capture is required I tend to push this out to Excel spreadsheets, or Google Spreadsheet.

Cheers,

Steve

Not applicable
Author

Hi,

Kindly try this solution.

Document properties - Triggers - OnPostReload - Add Run Macro - Edit Module - enter the script below with ur field.

sub resetvalues

  set f = ActiveDocument.Fields("Fieldname")

  f.ResetInputFieldValues 0, x 

end sub

After that, reload your document and the macro will run automatically after reload.

Hope this would solve!

Thanks and best regards,

Chanel