![]() 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 that are bound to these 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 query data connection. InfoPath then sends the query through the query data connection. When a form 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 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 a database, Microsoft Office InfoPath creates a main data source with groups that contain query fields and data fields and a query data connection as the main data connection for the form template. Depending on your goals for the form, a data connection might query or submit form data to an external data source, such as a Microsoft SQL Server database or a Web service. In this articleĪ form can have one primary data connection, called the main data connection, and it can optionally have one or more secondary data connections. You can design a form template that can work with a Microsoft SQL Server database to either query data or query and submit data.
0 Comments
Leave a Reply. |