ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
  • Bounds for a report based on a data file
  • Limits for a report
  • Limits for a window control
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MinValue property is used to:
  • get and set the bottom value of a report based on a data file. The bottom value is the minimum value allowed for the search key of the HFSQL data file the report is based on.
  • get the minimum value of the current filter (set by HFilter) on an HFSQL data file, view or query.
  • get the minimum value of a data series in a chart.
  • get and set the minimum value for some types of controls.
Example
WINDEVUser code (UMC)
// Set the minimum value for row 3 of the Progress Bar column
COL_ProgressBar[3].MinValue = 20
WINDEVWEBDEV - Server codeReports and QueriesAndroidAndroid Widget iPhone/iPadIOS WidgetUser code (UMC)Ajax
// Print customers between "DUPONT" and "DURANT"
RPT_MyFileReport.MinValue = "DUPONT"
RPT_MyFileReport.MaxValue = "DURANT"
WINDEViPhone/iPadIOS WidgetUser code (UMC)
// Based on the minimum value defined for the Edit control,
// change the bottom value
IF EDT_Price.MinValue > 10 THEN
EDT_Price.MinValue = 20
END
Syntax

Getting the minimum value of a control or report Hide the details

<Current value> = <Element used>.MinValue
<Current value>: Character string
Current minimum value:
  • of the report based on a data file.
  • of a control in a window or page.
  • WEBDEV - Server codePHP of the Calendar control in a page. The minimum value represents the minimum date that can be displayed in the calendar.
<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 for which you want to get the minimum value (control in a window or page). The list of the controls that can be manipulated is in the "Limitations" paragraph.

Changing the minimum value of a control or report Hide the details

<Element used>.MinValue = <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 the control for which you want to get the minimum value (control in a window or page).
<New value>: entier
New minimum value:
  • of the report based on a data file.
  • of a control in a window or page. The list of the controls that can be manipulated is in the "Limitations" paragraph.
  • WEBDEV - Server codePHP of the Calendar control in a page. The minimum value represents the minimum date that can be displayed in the calendar.
  • of the Rating control. Only values 0 and 1 are allowed.
WINDEVWEBDEV - Server codeReports and QueriesAndroidAndroid Widget iPhone/iPadIOS WidgetMac CatalystJavaUser code (UMC)AjaxHFSQL Classic

Getting the minimum value of the current filter Hide the details

<Current value> = <Element used>.MinValue
<Current value>: Type of filter used
  • Current minimum value of the filter applied on the specified element. This filter is defined with the HFilter function.
  • Empty string ("") in the following cases:
    • no filter was defined for the specified element
    • the filter is disabled
    • no minimum value was specified for the filter
<Element used>: Element name
Name of the data file, query or view used.
WINDEVWEBDEV - Server codeReports and QueriesAndroidiPhone/iPadMac CatalystUser code (UMC)Ajax

Know the minimum value of a graph series Hide the details

<Minimum value> = <Series>.MinValue
<Minimum value>: entier
Minimum value of the data series. This value only exists if it has been calculated (for example, if the series has been drawn).
<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 bottom value (returned by the MinValue property) and the top value (returned by the MaxValue property).

Limits for a report

The MinValue property can only be used on reports based on data files. When creating the report, you need to specify that the search is bounded by the minimum value.
WINDEVAndroidiPhone/iPadIOS WidgetJavaUser code (UMC)

Limits for a window control

The minimum value cannot be greater than the maximum value. The maximum value is returned by the MaxValue property.

Limitations

WINDEV This property can be used on the following types of controls:
  • Scrollbar control,
  • Progress Bar control and Progress Bar columns,
  • Slider control (linear or circular),
  • Spin control,
  • Splitter control,
  • Calendar control,
  • Numeric Edit control (no number less than the defined value can be entered),
  • Duration Edit control (no duration less than the defined value can be entered),
  • Range Slider,
  • Rating.
The default minimum value can be defined in the "Details" tab of the control description window.
WEBDEV - Server codeWEBDEV - Browser codePHP This property can be used on the following types of controls:
  • WEBDEV - Server codePHP Calendar controls.
  • Slider controls.
  • Progress Bar controls.
  • Rating controls.
  • WEBDEV - Server code Edit controls (numeric, date, time, duration).
  • WEBDEV - Server code Editable columns in a Table control (numeric, date, time, duration).
iPhone/iPadMac Catalyst This property can be used on the following types of controls:
  • Calendar controls.
  • Numeric Edit controls (no number less than the defined value can be entered).
  • Duration Edit controls (no duration less than the defined value can be entered),
  • Chart controls.
  • Numeric columns of Table controls.
The default minimum value can be defined in the "Details" tab of the control description window.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/05/2024

Send a report | Local help