Update the main data connection to a database or Web service
When you design a new form that is connected to a database or Web service, Microsoft Office InfoPath 2003 builds a data structure for your form based on that database or Web service. If the database or Web service is then changed or moved, you can update your form so that it uses the updated database or Web service.
- In design mode, click Convert Main Data Source on the Tools menu.
- Follow the steps in the Data Connection Wizard to update your form's data connection.
- Revise the form to match the updated database or Web service. If a field has been removed in the updated database, for example, rebind or remove the controls that were previously bound to that field.
- Test the form thoroughly.
Note Testing the form includes previewing the form, as well as opening a new form and filling it out. Make sure to test any controls bound to new or modified fields.
- If users have already filled out forms based on this form, upgrade those existing forms.
- On the Tools menu, click Form Options, and then click the Advanced tab.
- In the On version upgrade list, click Automatically upgrade existing forms.
- To republish the form, click Publish on the File menu.