Skip to Content
0
Former Member
Mar 30, 2010 at 01:34 PM

Link Button in Grid

121 Views

Hi Experts,

I want to dispaly a link button in my grid.Iam executing a query & binding the result direclty to GRID.

            Dim oGrid As SAPbouiCOM.Grid
            Dim objForm As SAPbouiCOM.Form
            Dim str as String
            str="Select EmployeeID,EmployeeName,Rank,Designation,Place from [@EMD]"

            oGrid = objForm .Items.Item("18").Specific
            objForm .DataSources.DataTables.Add("MyDataTable")
            objForm .DataSources.DataTables.Item("MyDataTable").ExecuteQuery(str)
            oGrid.DataTable = objForm.DataSources.DataTables.Item("MyDataTable")

Can anybody suggest me some ideas?

thanks,

shangai.