Dear All,
Today , We will see, How to Add UserDataSource To Form through SDK.
Today , We will see, How to Add UserDataSource To Form through SDK.
Public Sub AddUserDataSourceToForm(ByVal aForm As SAPbouiCOM.Form, ByVal oUserDataSorce As String, ByVal strDateType As SAPbouiCOM.BoDataType, ByVal length As Integer)
Try
aForm.DataSources.UserDataSources.Add(oUserDataSorce, strDateType, length)
Catch ex As Exception
Finally
If aForm IsNot Nothing Then
aForm = Nothing
End If
End Try
End Sub