.NET Framework Class Library
UserInterface.FilterSelect Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > UserInterface Class > UserInterface Methods > .NET Framework Class Library |
Displays a selection box reading data from a database.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function FilterSelect ( _ title As String, _ |
C# |
|---|
public string FilterSelect( string title, |
Visual C++ |
|---|
public: String^ FilterSelect( |
JavaScript |
|---|
function filterSelect(title, dsn, user, pwd, selectStatement, fieldToRead, fieldToFilterOn, multipleResult, filterValue, position); |
Parameters
title
Type: System.String
title for the dialog box
dsn
Type: System.String
data source name
user
Type: System.String
login
pwd
Type: System.String
password for the above login
selectStatement
Type: System.String
SQL SELECT statement for the data
fieldToRead
Type: System.String
name of the field to be read
fieldToFilterOn
Type: System.String
name of the field on which apply the filter when inputting characters in the edit box
multipleResult
Type: System.Object
Output. The array of Field_to_Read values in the filtered records
filterValue (Optional)
Type: System.String
Optional. The initial value for the filter that appears in the text box
position (Optional)
Type: System.Int32
Optional. 0- center of the scrren, 1- top left corner of the screen, 2- in the current mouse pointer position
Return Value
empty string if nothing has been selected or the first selected item
Remarks
See Also