PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • List,Search
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
List,Search (External language)
In French: Liste,Cherche
Finds a value in a list. The search performed is an exact-match search.
Example
// In C
CALLWD('List,Search,ProdList,000002");
if WDInt==-1 CALLWD("ERROR,Element not found");
// In Pascal
CALLWD('List,Search,ProdList,000002');
if WDInt=-1 then CALLWD('ERROR,Element not found');
// In VB
call CALLWD("List,Search,ProdList,000002")
if WDInt=-1 then CALLWD('ERROR,Element not found")
end if
Syntax
List,Search(<List Name> , <Sought String>)
<List Name>: Character string
Name of the List Box control to modify.
<Sought String>: Character string
Value sought in the list. This value is sought in the entire list.
Remarks

List,Search

  • the subscript of the list element corresponding to the search,
  • -1 if the sought string is not found..
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment