PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning 127: You are using a data source local to the process
Reason
This code line 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
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment