ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Tip
  • Examples
  • Using a data source local to the "WIN_Management" window
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
Warning 127: You are using a data source local to the process
Reason
This line of code declares a local variable ("data source" type). This variable will be destroyed at the end of the process.
Tip
To use a "Data source" variable in all the processes of your application, this variable must be defined as global variable.
Examples

Using a data source local to the "WIN_Management" window

Code triggering the warning
MyCustomerFile is Data Source

Possible correction
Defining the data source global to the window.
// -- Global declarations of WIN_Management window
GLOBAL
MyCustomerFile is Data Source
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help