PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reason
  • Correction
  • Example
  • Declaring a procedure
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
Error 203: The procedure already has a scope attribute (local or global)
Reason
You are declaring a procedure by trying to give it two scope attributes.
Reminder: A procedure can only have a single scope attribute:
  • Global: the procedure can be called in all the processes of the windows, controls and reports found in the project.
  • Local (default value): the procedure can be called in the processes of the window (and its controls) where this procedure was created.
Correction
Use a single scope attribute when declaring the procedure.
Example

Declaring a procedure

Code triggering the error
LOCAL GLOBAL PROCEDURE StockMarket()
Possible correction
Specify a single scope attribute for this procedure.
GLOBAL PROCEDURE StockMarket()
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment