Hi,
I am setting a mandatory field in matrix. All the columns are working well but for the column which holds the numeric value is accepting the value in the text eventhough i check it.
The code follows which i used
Try
Dim k As Integer
Dim oEdit4 As SAPbouiCOM.EditText
If oMatrix.RowCount() = 0 Then
BubbleEvent = False
SBO_Application.SetStatusBarMessage("LLS should not be left blank")
Else
For k = 1 To oMatrix.RowCount()
'oMatrix = oForm.Items.Item("mat1").Specific
oEdit4 = oMatrix.Columns.Item("txttollm").Cells.Item(k).Specific
If oEdit4.String = "" And oEdit4.String = "0.000" Then
BubbleEvent = False
oEdit4.Active = True
SBO_Application.SetStatusBarMessage("LLS should not be left blank")
End If
Next k
End If
Catch ex As Exception
End Try
In matrix for this field i set as numeric(19,6) so it displays "0.000" in matrix this is the problem so its accepting the same value. Plz give me a solution.
Madhavi