sql - word 2007: adding form fields -


does know how add textbox onto word 2007 document. need gather user input , after form filled out, data added access database

thank you!

word supports different kind of text input fields:

  • "legacy" input fields implemented using word fields:

    selection.formfields.add range:=selection.range, type:= wdfieldformtextinput 
  • activex controls:

    selection.inlineshapes.addolecontrol classtype:="forms.textbox.1" 
  • content controls (word 2007 or later):

    selection.range.contentcontrols.add (wdcontentcontroltext) 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -