ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Administrative number functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Spain.CheckNIF (Function)
In french: Espagne.VérifieNIF
Checks the validity of a NIF number (company identification number in Spain).
Example
// Check a variable
MyNIFNumber is string = "B82661935"
Spain.CheckNIF(MyNIFNumber) // Returns True
 
// Check a control
EDT_NIFNumber = "ABC"
Spain.CheckNIF(EDT_NIFNumber) // Returns False
Syntax
<Result> = Spain.CheckNIF(<Number to check>)
<Result>: Boolean
  • True if the specified element contains a valid NIF number.
  • False otherwise.
<Number to check>: Control name or string variable
NIF number to check. This parameter can correspond to:
  • the name of a string variable.
  • the name of a control.
Component: wd300std.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