ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Binding functions
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
Link functions (prefix syntax) are used to link the interface with the data files (and vice versa). These functions are as follows:
<Page>.FromFileAutomatically updates the controls of a page with:
  • the values of the bound items in the current record (loaded in memory) of the data file described in the data model editor. This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
  • the values of the bound WLanguage variables. This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
<Page>.FromSourceAutomatically updates the controls of a page with:
  • the values of the bound items in the current record (loaded in memory) of the HFSL data file described in the data model editor.
  • the values of the bound WLanguage variables.
<Page>.ToFileAutomatically initializes:
  • the value of the items in a data file with the value of the controls in the page. The data file items bound to the window controls are automatically updated with the values of these controls (even if they are grayed, inactive or invisible).
  • the value of the WLanguage variables with the value of the window controls. The WLanguage variables bound to the page controls are automatically updated with the values of these controls (even if they are grayed, inactive or invisible).
<Page>.ToSourceAutomatically initializes:
  • the value of the items in a data file with the value of the controls in the page.
  • the value of the WLanguage variables with the value of the page controls.
<Window>.FromSourceAutomatically updates the controls in a window or page with:
  • the values of the bound items in the current record (loaded in memory) of the HFSL data file described in the data model editor.
  • the values of the bound WLanguage variables.
<Window/Page>.FromFileAutomatically updates the controls in a window or page with:
  • the values of the bound items in the current record (loaded in memory) of the data file described in the data model editor. This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
  • the values of the bound WLanguage variables. This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
<Window/Page>.ToFileAutomatically initializes:
  • the memory value of the items in a data file with the value from the controls in the window or page. The data file items bound to the window controls are automatically updated with the values of these controls (even if they are grayed, inactive or invisible).
  • the value of the WLanguage variables with the value from the controls in the window or page. The WLanguage variables bound to the window controls are automatically updated with the values of these controls (even if they are grayed, inactive or invisible).
<Window/Page>.ToSourceAutomatically initializes:
  • the memory value of the items in a data file with the value from the controls in the window or page.
  • the value of the WLanguage variables with the value of the controls found in the window or in the page.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help