PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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
..MinValue is used to:
  • find out and modify the lower bound for a report based on a data file. The lower bound corresponds to the minimum value allowed for the search key of the HFSQL data file used as report source.
  • find out the lower bound of the current filter (defined by HFilter) on a HFSQL data file, a view or a query.
  • find out the minimum value of a chart series.
  • find out and modify the minimum value for some types of controls.
Versions 15 and later
Java This property is now available for the Java applications.
Android This property is now available for the Android applications.
New in version 15
Java This property is now available for the Java applications.
Android This property is now available for the Android applications.
Java This property is now available for the Java 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.
Versions 22 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 22
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Example
WINDEVWindows MobileUser code (UMC)
// Modify the lower bound for row 3 of the Progress Bar column
COL_ProgressBar[3]..MinValue = 20
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)
// Print the customers found between "DUPONT" and "DURANT"
RPT_MyFileReport..MinValue = "DUPONT"
RPT_MyFileReport..MaxValue = "DURANT"
WINDEViPhone/iPadWindows MobileUniversal Windows 10 AppUser code (UMC)
// According to the lower bound defined for the edit control,
// change this lower bound
IF EDT_Price..MinValue > 10 THEN
EDT_Price..MinValue = 20
END
Syntax

Finding out the lower bound of a control or report Hide the details

<Current Value> = <Element Name>..MinValue
<Current Value>: Character string
Current value of lower bound:
  • for the report based on a data file.
  • for a control found in a window or page.
  • WEBDEV - Server codePHP for the Calendar control found in a page. The lower bound represents the minimum date that can be displayed by the calendar.
<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 lower bound is requested (control in a window or in a page). The list of controls concerned is located in the "Limitations" paragraph.

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

<Element Name>..MinValue = <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 lower bound must be modified (control in a window or in a page).
<New Value>: Integer
New value of lower bound:
  • for the report based on a data file.
  • for a control found in a window or page. The list of controls concerned is located in the "Limitations" paragraph.
  • WEBDEV - Server codePHP for the Calendar control found in a page. The lower bound represents the minimum date that can be displayed by the calendar.
  • Versions 17 and later
    for the Rating control. Only the values 0 or 1 are allowed.
    New in version 17
    for the Rating control. Only the values 0 or 1 are allowed.
    for the Rating control. Only the values 0 or 1 are allowed.
WINDEVWEBDEV - Server codeReports and QueriesAndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 AppJavaAjaxUser code (UMC)HFSQL

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

<Current Value> = <Element Name>..MinValue
<Current Value>: Type corresponding to the filter used
  • Current value of lower 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.
WINDEVWEBDEV - Server codeReports and QueriesAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)

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

<Minimum Value> = <Serial>..MinValue
<Minimum Value>: Integer
Minimum value of series. This value exists only if it was calculated (if the series was drawn for example).
<Serial>: Character string
Series to use. Use the following notation: <Chart Name>[<Series Number>].
Remarks
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)

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 lower bound (returned by ..MinValue) and the value of upper bound (returned by ..MaxValue).
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)

Limit for a report

..MinValue only applies to the reports based on data files. When creating the report, you must specify that the browse is bounded by the minimum value.
WINDEVAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppJavaUser code (UMC)

Limit for a window control

The value defined for the lower bound cannot be greater than the value defined for the upper bound. The maximum value is returned by ..MaxValue.

Limits

WINDEVWindows 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 less than this value can be entered),
  • Versions 20 and later
    Duration type edit control (entering a duration smaller than this value will not be possible),
    New in version 20
    Duration type edit control (entering a duration smaller than this value will not be possible),
    Duration type edit control (entering a duration smaller than this value will not be possible),
  • Versions 15 and later
    WINDEV Range Slider,
    New in version 15
    WINDEV Range Slider,
    WINDEV Range Slider,
  • Versions 17 and later
    WINDEV Rating.
    New in version 17
    WINDEV Rating.
    WINDEV Rating.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
WEBDEV - Server codeWEBDEV - Browser codePHP This property can be used on the following types of controls:
  • WEBDEV - Server codePHP the Calendar controls.
  • Versions 18 and later
    the Slider controls.
    New in version 18
    the Slider controls.
    the Slider controls.
  • Versions 16 and later
    the Progress Bar controls.
    New in version 16
    the Progress Bar controls.
    the Progress Bar controls.
  • Versions 17 and later
    the Rating controls.
    New in version 17
    the Rating controls.
    the Rating controls.
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
    the duration edit controls (entering a duration less than this value will not be possible),
    New in version 20
    the duration edit controls (entering a duration less than this value will not be possible),
    the duration edit controls (entering a duration less 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
    the duration edit controls (entering a duration less than this value will not be possible),
    New in version 20
    the duration edit controls (entering a duration less than this value will not be possible),
    the duration edit controls (entering a duration less 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
    the duration edit controls (entering a duration less than this value will not be possible),
    New in version 20
    the duration edit controls (entering a duration less than this value will not be possible),
    the duration edit controls (entering a duration less 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 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.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
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 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.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
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 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.
The default value for the upper bound is defined in the window editor when describing the control ("Details" tab).
Minimum required version
  • Version 9
This page is also available for…
Comments
Video MinValue
https://youtu.be/3M6roMSfu9U


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