PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Bounds for a report based on a data file
  • Limit for a report
  • Limit for a window control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..MaxValue 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 a HFSQL data file, a view or a query.
  • find out the maximum value for 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 the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
Versions 19 and later
Universal Windows 10 App This property is now available in Windows Store apps mode for the Chart controls.
New in version 19
Universal Windows 10 App This property is now available in Windows Store apps mode for the Chart controls.
Universal Windows 10 App This property is now available in Windows Store apps mode for the Chart controls.
Versions 20 and later
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
iPhone/iPad This property is now available for the table columns in the 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
Windows Mobile
// Modify the upper bound for row 3 of Progress Bar column
COL_ProgressBar[3]..MaxValue = 230
iPhone/iPadWindows MobileUniversal Windows 10 App
// Print the customers found between "DUPONT" and "DURANT"
RPT_MyFileReport..MinValue = "DUPONT"
RPT_MyFileReport..MaxValue = "DURANT"
iPhone/iPadWindows MobileUniversal Windows 10 App
// 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 Name>..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 Name>: Character string (with or without quotes)
This parameter corresponds to:
  • the name of report used (report based on a data file).
  • the name of control whose upper bound is requested (control in a window or in a 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 Name>..MaxValue = <New value>
<Element Name>: Character string (with or without quotes)
This parameter corresponds to:
  • the name of 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.
AndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App

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

<Current Value> = <Element Name>..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 Name>: : Character string (with or without quotes)
Name of data file, query or view used.
AndroidiPhone/iPadWindows MobileUniversal Windows 10 App

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
iPhone/iPadWindows MobileUniversal Windows 10 App

Bounds for a report based on a data file

The bounds are used to select the records whose search key is included between the value of the lower bound (returned by ..MinValue) and the value of the upper bound (returned by ..MaxValue).
iPhone/iPadWindows MobileUniversal Windows 10 App

Limit for a report

..MaxValue only applies to the reports based on HFSQL data files. When creating the report, you must specify that the browse is bounded by the maximum value.
AndroidiPhone/iPadWindows MobileUniversal Windows 10 App

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 ..MinValue.

Limits

Windows Mobile This property can be used on the following types of controls:
  • Scrollbar,
  • Progress bar and Progress Bar columns ,
  • Slider (standard or round),
  • Spin,
  • Splitter,
  • Calendar,
  • Numeric edit control (no number greater than this value can be entered),
  • Versions 20 and later
    Duration type edit control (entering a duration larger than this value will not be possible),
    New in version 20
    Duration type edit control (entering a duration larger than this value will not be possible),
    Duration type edit control (entering a duration larger than this value will not be possible),
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
Versions 17 and later
iPhone/iPad This property can be used on the following types of controls:
  • Versions 18 and later
    the Calendar controls.
    New in version 18
    the Calendar controls.
    the Calendar controls.
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration type edit control (entering a duration larger than this value will not be possible),
    New in version 20
    Duration type edit control (entering a duration larger than this value will not be possible),
    Duration type edit control (entering a duration larger than this value will not be possible),
  • the Chart controls.
  • Versions 20 and later
    the Numeric table columns.
    New in version 20
    the Numeric table columns.
    the 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/iPad This property can be used on the following types of controls:
  • Versions 18 and later
    the Calendar controls.
    New in version 18
    the Calendar controls.
    the Calendar controls.
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration type edit control (entering a duration larger than this value will not be possible),
    New in version 20
    Duration type edit control (entering a duration larger than this value will not be possible),
    Duration type edit control (entering a duration larger than this value will not be possible),
  • the Chart controls.
  • Versions 20 and later
    the Numeric table columns.
    New in version 20
    the Numeric table columns.
    the Numeric table columns.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
iPhone/iPad This property can be used on the following types of controls:
  • Versions 18 and later
    the Calendar controls.
    New in version 18
    the Calendar controls.
    the Calendar controls.
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    Duration type edit control (entering a duration larger than this value will not be possible),
    New in version 20
    Duration type edit control (entering a duration larger than this value will not be possible),
    Duration type edit control (entering a duration larger than this value will not be possible),
  • the Chart controls.
  • Versions 20 and later
    the Numeric table columns.
    New in version 20
    the Numeric table columns.
    the 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:
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    the duration type edit controls (entering a duration larger than this value will not be possible),
    New in version 20
    the duration type edit controls (entering a duration larger than this value will not be possible),
    the duration type edit controls (entering a duration larger than this value will not be possible),
  • Versions 19 and later
    the Chart controls.
    New in version 19
    the Chart controls.
    the Chart controls.
  • Versions 21 and later
    the Calendar controls.
    New in version 21
    the Calendar controls.
    the Calendar controls.
New in version 18
Universal Windows 10 App This property can be used on the following types of controls:
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    the duration type edit controls (entering a duration larger than this value will not be possible),
    New in version 20
    the duration type edit controls (entering a duration larger than this value will not be possible),
    the duration type edit controls (entering a duration larger than this value will not be possible),
  • Versions 19 and later
    the Chart controls.
    New in version 19
    the Chart controls.
    the Chart controls.
  • Versions 21 and later
    the Calendar controls.
    New in version 21
    the Calendar controls.
    the Calendar controls.
Universal Windows 10 App This property can be used on the following types of controls:
  • the numeric edit controls (no number greater than this value can be entered).
  • Versions 20 and later
    the duration type edit controls (entering a duration larger than this value will not be possible),
    New in version 20
    the duration type edit controls (entering a duration larger than this value will not be possible),
    the duration type edit controls (entering a duration larger than this value will not be possible),
  • Versions 19 and later
    the Chart controls.
    New in version 19
    the Chart controls.
    the Chart controls.
  • Versions 21 and later
    the Calendar controls.
    New in version 21
    the Calendar controls.
    the Calendar controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Video MaxValue
https://youtu.be/FR7TPS9TGtQ

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1990-windev-comandos-31.html
amarildo
23 Jan. 2019