You can customize the submit options for the forms that are based on this form template. When InfoPath enables a submit data connection, users are allowed to submit the data that is stored in the data fields in the main data source to the database. None of the data fields in the main data source of the form store a large binary data type InfoPath will disable the submit data connection if the query includes fields that can store a large binary data type, such as pictures, images, OLE objects, file attachments, the Office Access memo data type, or the SQL Text data type. The left table in each pair of related tables in the main data source contains a primary key At least one of the relationships for every pair of related tables must include a primary key from the left table. To allow users to submit data in a form that is based on a browser-compatible form template, use a Web service that works with the database. The form template is not a browser-compatible form template InfoPath will not create a submit data connection in the main data connection if you are designing a browser-compatible form template. Find links to more information about data sources in the See Also section.Ī form can submit data to a database through the form's main data connection if the form template that the form is based on and the database meet the following requirements: You can only add fields or groups to the root group in the main data source. The results of the query are put into data fields, which can be edited through controls on the form that are bound to those data fields.īecause the data structure of the query and the data fields must match the way that data is stored in the database, you cannot modify these fields or groups in the main data source. The database returns the results of the query back to the form through the data connection. InfoPath then sends the query through the data connection. When a form that is based on this form template uses the main data connection, InfoPath creates a query by using the data in the query fields. Query fields contain the data that is entered into the form by a user to limit the query results to records that match the data in the query fields. These fields and groups correspond to the way that data is stored in the tables in the database. When you design a form template that is based on an Access database, InfoPath creates a main data source with groups that contain query fields and data fields, and also creates a query data connection as the main data connection for the form template. You cannot add a secondary data connection to a form that submits form data directory to an Access database. For example, you can use a secondary data connection to an Access database so that it only queries the database. You can also use secondary data connections to query and submit data to external data sources, with some exceptions. You can use the main data connection to query or submit form data to an Access database. In this articleĪ form can have one primary data connection, called the main data connection, and that connection can optionally have one or more secondary data connections. You can design this form template based on a Microsoft Office Access 2007 (.accdb format) database or an Access database saved in an earlier version (.mdb format). You can design a Microsoft Office InfoPath form template that works with a Microsoft Office Access database to either query data, or to query and submit data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |