Dear All,
Today , We will see, How to Set Current Date Edit Text through SDK
Today , We will see, How to Set Current Date Edit Text through SDK
Public Sub SetCurrentDate(ByVal aForm As SAPbouiCOM.Form, ByVal strEditText As String)
Dim oEditText As SAPbouiCOM.EditText = Nothing
oEditText = aForm.Items.Item(strEditText).Specific
Try
oEditText.Value = DateTime.Now.ToString("yyyyMMdd")
Catch ex As Exception
Finally
If oEditText IsNot Nothing Then
oEditText = Nothing
End If
End Try
End Sub