Skip to Content
0
Former Member
Nov 25, 2009 at 01:48 PM

how to capture record from grid

21 Views

hi have written this piece of code to caputure record from a grid onto my editbox(Code)

If FormUID = "CQ_SubForm" And pVal.ItemUID = "3" And _
            pVal.EventType = SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK And pVal.BeforeAction = True Then


                oDBDataSource.SetValue("Code", 0, ogrid.DataTable.GetValue(0, 0))
               
            End If

but this code is getting only one value everytime....i want to capture only that data which is clicked....

how to solve this prob?