Skip to content

Commit

Permalink
minor code change
Browse files Browse the repository at this point in the history
  • Loading branch information
N-thony committed Jun 19, 2024
1 parent 1d331c0 commit f4b5373
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions instat/ucrDataView.vb
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,14 @@ Public Class ucrDataView
frmConvertToNumeric.SetNonNumeric(iNonNumericValues)
frmConvertToNumeric.ShowDialog()
' Yes for "normal" convert and No for "ordinal" convert
If frmConvertToNumeric.DialogResult = DialogResult.Yes Then
GetCurrentDataFrameFocus().clsPrepareFunctions.ConvertToNumeric(strColumn, True)
ElseIf frmConvertToNumeric.DialogResult = DialogResult.No Then
GetCurrentDataFrameFocus().clsPrepareFunctions.ConvertToNumeric(strColumn, False)
ElseIf frmConvertToNumeric.DialogResult = DialogResult.Cancel Then
Continue For
End If
Select Case frmConvertToNumeric.DialogResult
Case DialogResult.Yes
GetCurrentDataFrameFocus().clsPrepareFunctions.ConvertToNumeric(strColumn, True)
Case DialogResult.No
GetCurrentDataFrameFocus().clsPrepareFunctions.ConvertToNumeric(strColumn, False)
Case DialogResult.Cancel
Continue For
End Select
frmConvertToNumeric.Close()
End If
Next
Expand Down

0 comments on commit f4b5373

Please sign in to comment.