Computed Values
Get Largest Field Value from a Table Column

Code Customization
Get Largest Field Value from a Table Column
Description:

This customization gets the largest numeric field value from a table column. This is useful to set text for a label or literal control.

This customization will be added in:

..\<Application Name>\App_Code\Business Layer\<Table Name>Table.cs

For example: C:\MyApp1\App_Code\Business Layer\OrdersTable.cs

Procedure:

Step 1:  Use this wizard to add code customization.

Step 2:  Add the following code to your application which calls the function you just added using this wizard.

<Table Name>Table.Instance.GetLargest();
Here is an example code:
int value = Order_DetailsTable.Instance.GetLargest();

Step 3:  Build and run the application.

Applies To:

The function works for a column with integer values. To work with other numeric types, modify the function.

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.


  Privacy Statement