locked
Update DocVariables RRS feed

  • Question

  • User-904709974 posted

    Hi,

    Im developing a web appplication where the user fill a form with some info and then he opens an doc file (model file)  and the doc should display the data filled in the form.

    I created some DocVariables in the doc model, and when I fill the form and hit the button to show the file, the file open but the DocVariables dont update automatically. I must select them and update by myself.

    I was wondering if there is any method on Microsoft.Word library to update variables automatically. I tried "Word.Document.Fields.Update()" but nothing happens. 

    Anyone can help me pls?

    Thanks! 

    Monday, December 22, 2008 8:20 AM

Answers

  • User1746709538 posted

    Look if this can help

    http://www.eggheadcafe.com/software/aspnet/33286964/docvariables-in-word.aspx

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 22, 2008 8:26 AM