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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -