ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Administrative number 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
Checks the validity of a Canadian 15-digit Business Number (BN15).
Example
// Check a variable
MyBN15 is string = "887471886RT0001"
Canada.CheckBN15(MyBN15) // Returns True
 
// Check a control
EDT_BN15 = "ABC"
Canada.CheckBN15(EDT_BN15) // Returns False
Syntax
<Result> = Canada.CheckBN15(<Number to check>)
<Result>: Boolean
  • True if the specified element contains a valid BN15.
  • False otherwise.
<Number to check>: Control name or string variable
BN15 to check. This parameter can correspond to:
  • the name of a string variable.
  • the name of a control.
Component: wd290std.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/14/2022

Send a report | Local help