Change an Imported Stored Procedure

Once you have created a Datasource and Dataset(s) for an Imported Stored Procedure, you may need to change it later if the Stored Procedure is modified. You may also need to change the connection string for the database housing the Stored Procedure, if this changes or you have separate test and live systems. You can change the connection string in the Datasource properties, but we recommend that you change it when you publish your form using the Publishing Profile settings instead. The Publishing Profiles allow you to easily use different SQL databases for the same form, for example to switch between running the form in your test, development and live environments. See the topic Publish your Form for more details.

For information about changing a Digitise Forms or Imported Datasource rather than an Imported Stored Procedure Datasource, see Change a Datasource instead.

 

Changes can be made in the properties of a Datasource and in the Project Explorer's Project and Datasources tabs:

 

When you publish a project which has an Imported Stored Procedure Datasource, the publish process will check whether the Stored Procedure has changed since the last refresh or import, and, if it has, warning messages will be displayed describing the changes. In this situation you should cancel the publish and update the relevant Datasets before publishing again, otherwise your form may not work correctly.

 

 


See also:

Import a Stored Procedure

Use an Imported Stored Procedure