.NET Framework Class Library
UserInterface.ListFromQuery Method (String, String, Int32, String, String, String, String)
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > UserInterface Class > UserInterface Methods > ListFromQuery Method > .NET Framework Class Library |
Shows a dialog box that allows to choose between entries retrieved from a query to a datasource managing authentication if needed.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function ListFromQuery ( _ datasource As String, _ |
C# |
|---|
public bool ListFromQuery( string datasource, |
Visual C++ |
|---|
public: bool ListFromQuery( |
JavaScript |
|---|
function listFromQuery(datasource, query, coloumntochoosefrom, title, choosedvalue, login, pass); |
Parameters
datasource
Type: System.String
name of a valid datasource or "@USEDEFAULTDATASOURCE" to force the usage of the default application datasource
query
Type: System.String
query to submit to the datasource
coloumntochoosefrom
Type: System.Int32
integer (starting from 1) that specifies the column to choose values from
title
Type: System.String
dialog box title
choosedvalue
Type: System.String
Ouput, item selected. If the function has a FALSE value resp contains a null string
login (Optional)
Type: System.String
Optional. The user name
pass (Optional)
Type: System.String
Optional. The user password
Return Value
TRUE if the user has closed the dialog by pressing the OK button, FALSE otherwise
Remarks
See Also