Replace LookupGrid2 with Version 3
This commit is contained in:
@@ -172,10 +172,10 @@ Public Class clsPatterns
|
||||
Select Case oControl.GetType.ToString
|
||||
Case GetType(TextBox).ToString
|
||||
oReplaceValue = oControl.Text
|
||||
Case GetType(LookupControl2).ToString
|
||||
Dim oLookupControl2 As LookupControl2 = oControl
|
||||
If oLookupControl2.SelectedValues.Count = 1 Then
|
||||
oReplaceValue = oLookupControl2.SelectedValues.Item(0)
|
||||
Case GetType(LookupControl3).ToString
|
||||
Dim oLookupControl3 As LookupControl3 = oControl
|
||||
If oLookupControl3.Properties.SelectedValues.Count = 1 Then
|
||||
oReplaceValue = oLookupControl3.Properties.SelectedValues.Item(0)
|
||||
Else
|
||||
oReplaceValue = "0"
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user