ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WINDEV Mobile concepts / Part 3 - Databases
  • Control - item binding
  • Control - variable binding
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
8. Binding controls to data
Previous pageTable of contentsNext page
A window can display information from:
  • a database: controls are directly bound to the items in the data files or queries available in the database.
  • variables in the application's WLanguage code (variables global to the window or to the project or parameters passed to the window).
To display information in a window, the controls in the window must be bound to:
  • the different items in the database.
  • the available WLanguage variables.
There are multiple methods to display and update values from a data source:
  • The binding between a control and an item or variable can be defined in the window editor, in the control description ("Binding" tab).
  • ScreenToFile updates the record or the variable with the values from the UI.
  • FileToScreen updates the data in the UI with the values from the data file or variable.
Control - item binding
Control - item binding
.
Control - variable binding
Control - variable binding
.

Android

Remark: Data binding between a control and a variable is not available for Android applications.
Previous pageTable of contentsNext page
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/31/2022

Send a report | Local help