PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Bounds for a report based on a data file
  • Limit for a report
  • Limit for a window control
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The MaxValue property is used to:
  • find out and modify the upper bound for a report based on a data file. The upper bound is the maximum value allowed for the search key of the HFSQL data file used as report source
  • find out the upper bound of the current filter (defined by HFilter) on an HFSQL data file, view or query.
  • find out the maximum value of a chart series.
  • find out and modify the maximum value for some types of controls.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Versions 19 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode for Chart controls.
New in version 19
Universal Windows 10 App This property is now available in Windows Store Apps mode for Chart controls.
Universal Windows 10 App This property is now available in Windows Store Apps mode for Chart controls.
Versions 20 and later
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS Widget
// Print the customers found between "DUPONT" and "DURANT"
RPT_MyFileReport.MinValue = "DUPONT"
RPT_MyFileReport.MaxValue = "DURANT"
Universal Windows 10 AppiPhone/iPad
// According to the upper bound defined for the edit control,
// change this upper bound
IF EDT_Price.MaxValue < 1,000,000,000 THEN
EDT_Price.MaxValue = 2,000,000,000
END
Syntax

Finding out the upper bound defined for a control or report Hide the details

<Current value> = <Element used>.MaxValue
<Current value>: Character string
Current value of upper bound:
  • for the report based on a data file.
  • for a control found in a window or page.
<Element used>: Control or report name
This parameter corresponds to:
  • the name of the report used (report based on a data file).
  • the name of the control with the upper bound value (control in a window or page). The list of controls concerned is located in the "Limitations" paragraph.

Modifying the upper bound of a control or report Hide the details

<Element used>.MaxValue = <New value>
<Element used>: Control or report name
This parameter corresponds to:
  • the name of the report used (report based on a data file).
  • the name of control whose upper bound must be modified (control in a window or in a page).
<New value>: Integer
New value of the upper bound:
  • for the report based on a data file.
  • for a window control. The list of controls concerned is located in the "Limitations" paragraph.
Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetMac Catalyst

Finding out the upper bound defined for the current filter Hide the details

<Current value> = <Element used>.MaxValue
<Current value>: : Type corresponding to the filter used
  • Current value of upper bound for the filter currently used on the specified element. This filter was defined by HFilter.
  • Empty string ("") in the following cases:
    • no filter was defined for the specified element.
    • the filter is disabled.
    • no bound was specified for the filter.
<Element used>: Character string
Name of data file, query or view used.
Universal Windows 10 AppAndroidiPhone/iPadMac Catalyst

Finding out the maximum value of a chart series Hide the details

<Maximum value> = <Series>.MaxValue
<Maximum value>: Integer
Maximum value of the series. This value exists only if it was calculated (if the series was drawn for example).
<Series>: Character string
Series to use. Use the following notation: <Chart name>[<Series number>].
Remarks

Bounds for a report based on a data file

Bounds select only those records whose search key is between the lower bound value (returned by the MinValue property) and the upper bound value (returned by the MaxValue property).

Limit for a report

The MaxValue property can only be used on reports based on HFSQL data files. When creating the report, you must specify that the browse is bounded by the maximum value.
Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS Widget

Limit for a window control

The value defined for the upper bound cannot be less than the value defined for the lower bound. The minimum value is returned by the MinValue property.

Limitations

Versions 17 and later
iPhone/iPadMac Catalyst This property can be used on the following types of controls:
  • Versions 18 and later
    Calendar controls.
    New in version 18
    Calendar controls.
    Calendar controls.
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration edit control (no duration greater than this value can be entered),
    New in version 20
    Duration edit control (no duration greater than this value can be entered),
    Duration edit control (no duration greater than this value can be entered),
  • Chart controls.
  • Versions 20 and later
    Numeric table columns.
    New in version 20
    Numeric table columns.
    Numeric table columns.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
New in version 17
iPhone/iPadMac Catalyst This property can be used on the following types of controls:
  • Versions 18 and later
    Calendar controls.
    New in version 18
    Calendar controls.
    Calendar controls.
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration edit control (no duration greater than this value can be entered),
    New in version 20
    Duration edit control (no duration greater than this value can be entered),
    Duration edit control (no duration greater than this value can be entered),
  • Chart controls.
  • Versions 20 and later
    Numeric table columns.
    New in version 20
    Numeric table columns.
    Numeric table columns.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
iPhone/iPadMac Catalyst This property can be used on the following types of controls:
  • Versions 18 and later
    Calendar controls.
    New in version 18
    Calendar controls.
    Calendar controls.
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration edit control (no duration greater than this value can be entered),
    New in version 20
    Duration edit control (no duration greater than this value can be entered),
    Duration edit control (no duration greater than this value can be entered),
  • Chart controls.
  • Versions 20 and later
    Numeric table columns.
    New in version 20
    Numeric table columns.
    Numeric table columns.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
Versions 18 and later
Universal Windows 10 App This property can be used on the following types of controls:
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    duration edit controls (no duration greater than this value can be entered),
    New in version 20
    duration edit controls (no duration greater than this value can be entered),
    duration edit controls (no duration greater than this value can be entered),
  • Versions 19 and later
    Chart controls.
    New in version 19
    Chart controls.
    Chart controls.
  • Versions 21 and later
    Calendar controls.
    New in version 21
    Calendar controls.
    Calendar controls.
New in version 18
Universal Windows 10 App This property can be used on the following types of controls:
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    duration edit controls (no duration greater than this value can be entered),
    New in version 20
    duration edit controls (no duration greater than this value can be entered),
    duration edit controls (no duration greater than this value can be entered),
  • Versions 19 and later
    Chart controls.
    New in version 19
    Chart controls.
    Chart controls.
  • Versions 21 and later
    Calendar controls.
    New in version 21
    Calendar controls.
    Calendar controls.
Universal Windows 10 App This property can be used on the following types of controls:
  • numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    duration edit controls (no duration greater than this value can be entered),
    New in version 20
    duration edit controls (no duration greater than this value can be entered),
    duration edit controls (no duration greater than this value can be entered),
  • Versions 19 and later
    Chart controls.
    New in version 19
    Chart controls.
    Chart controls.
  • Versions 21 and later
    Calendar controls.
    New in version 21
    Calendar controls.
    Calendar controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment