PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
Table,Search (External language)
In french: Table,Cherche
Finds a value in a memory table. It is an exact-match search.
Note: This function must not be used for a browsing table.
Example
// In C
CALLWD("Table,Search,Prod,000002");
// In Pascal
CALLWD('Table,Search,Prod,000002');
// In VB
call CALLWD("Table,Search,Prod,000002")
Syntax
Table,Search(<Column name> , <Sought value>)
<Column name>: Character string
Name of column where the search will be performed.
<Sought value>: Character string
Value sought in the column. This value must have the same size as the value of the sought column.
Remarks
Table,Search returns in WdInt:
  • the subscript of the table element corresponding to the search
  • -1 if the sought string is not found.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment