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.
  • 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.
This operation is performed regardless of the state of the controls (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.
<Source>.FromPageAutomatically updates:
  • 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.
<Source>.FromWindowAutomatically initializes:
  • the values of a data file's items in memory with the values from the controls in the window.
  • the value of the WLanguage variables with the value of the window controls.
This function is also available for WEBDEV pages.
<Source>.ToPageAutomatically 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.
This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
<Source>.ToWindowsAutomatically initializes the controls of a window 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>.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.
  • the values of the bound WLanguage variables.
This operation is performed regardless of the state of the controls (grayed, inactive or invisible).
<Window>.FromSourceAutomatically initializes the controls of a window 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>.ToFileAutomatically updates:
  • the values of a data file's items in memory with the values from the controls in the window. The data file items bound to the window controls are automatically updated with the values of these controls.
  • the value of the WLanguage variables with the value of the window controls. The WLanguage variables bound to the window controls are automatically updated with the values of these controls.
This function is also available for WEBDEV pages.
<Window>.ToSourceAutomatically updates:
  • the values of a data file's items in memory with the values from the controls in the window.
  • the value of the WLanguage variables with the value of the window controls.
This function is also available for WEBDEV pages.
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