Set Field Values

Initialize New Record from Existing Record

Code Customization
Initialize New Record from Existing Record
Description:

This customization initializes values in an Add Record page using values from an existing record, essentially implementing a "copy record" function. This example assumes you are passing the primary key value of the existing record as a URL parameter.

For a Web Application the customization will be added in:

..\<Application Name>\<Table Name>\Add<Table Name>.Controls.cs

For example: C:\MyApp1\Customers\AddCustomers.Controls.cs


For a Web Site the customization will be added in:

..\<Application Name>\App_Code\<Table Name>\Add<Table Name>.Controls.cs

For example: C:\MyApp1\App_Code\Customers\AddCustomers.Controls.cs

Procedure:

Step 1:  Use this wizard to add code customization.

Step 2:  Add the the selected URL parameter and value to the Add Button.

Step 3:  Build and run the application.

Applies To:

This code customization is applicable only for an Add Record page.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement