ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Brazil.CheckTaxNumber (Function)
In french: Brésil.VérifieNuméroFiscal
Checks the validity of a Brazilian tax number.
Note: The tax number corresponds to the CPF for individuals and the CNPJ for companies.
Example
// Test d'une variable
MonNuméroFiscal is string = "16650440396"
Brazil.CheckTaxNumber(MonNuméroFiscal) // renvoie Vrai

// Test d'un champ
SAI_NuméroFiscal = "ABC"
Brazil.CheckTaxNumber(SAI_NuméroFiscal) // renvoie Faux
Syntax
<Result> = Brazil.CheckTaxNumber(<Number to check>)
<Result>: Boolean
  • True if the specified element contains a valid tax number.
  • False otherwise.
<Number to check>: Control name or string variable
Tax 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 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help