PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Displaying the result in a list box or in a combo box
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
Returns the list of connections currently described in the application. You have the ability list the connections described in the data model editor as well as the connections described by programming (with HDescribeConnection or HOpenConnection).
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Retrieve the list of connections
CntList is string = HListConnection(hLstDetail + hLstAll + hLstSorted)

// Insert the list into COMBO_Connection
ListAdd(COMBO_Connection, CntList)
Syntax
<Result> = HListConnection([<Options> [, <Separator of Connections> [, <Separator of Information>]]])
<Result>: Character string
List of defined connections. The different connections are separated by the <Separator of Connections> (CR - Carriage Return - by default).
hLstDetail is not specified<Name of Connection 1> + <Separator of Connections> + <Name of Connection 2> + <Separator of Connections> +...
hLstDetail is specified<Name of Connection 1> + <Separator of Information> + <User> + <Separator of Information> + <Data Source> + <Separator of Information> + <Provider Name> + <Separator of Information> + <Optional Information> + <Separator of Connections> +...
<Options>: Optional Integer constant (or combination of constants)
Configures the type of list to perform:
hLstNormal
(default value)
List of connections, not sorted, without the connections described by programming.
hLstDetailDetailed information.
hLstOpenedLists the opened connections only.
hLstAllLists all the connections (connections of analysis and connections defined dynamically by HDescribeConnection or HOpenConnection).
hLstSortedSorts the list in ascending order.
<Separator of Connections>: Optional character string
Versions 15 and later
Separator used to separate the different connections. This separator corresponds to a Carriage Return (CR) by default.
New in version 15
Separator used to separate the different connections. This separator corresponds to a Carriage Return (CR) by default.
Separator used to separate the different connections. This separator corresponds to a Carriage Return (CR) by default.
<Separator of Information>: Optional character string
Versions 15 and later
Separator used to separate the information returned about the connections. This separator corresponds to a tabulation - TAB - by default.
New in version 15
Separator used to separate the information returned about the connections. This separator corresponds to a tabulation - TAB - by default.
Separator used to separate the information returned about the connections. This separator corresponds to a tabulation - TAB - by default.
Remarks

Displaying the result in a list box or in a combo box

<Result> can be directly assigned to a list box or to a combo box by ListAdd. If the <Separator of Connections> corresponds to CR, each row will contain the full name of one of the connections found.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment