Skip to Content
0
May 02, 2018 at 12:17 PM

Gridview syntax to get cell value of item with column names blank!

1569 Views Last edit May 02, 2018 at 04:26 PM 3 rev

Hi ,

I need to get the value of a cell but am having problems getting the syntax right!

session.FindById("wnd[0]/usr/tabsTABCJLE/tabpLEGR/ssubLISTE:SAPLCJWB:0902/tblSAPLCJWBTAB_902/txtPRPS-POST1[3,0]").SetFocus

Set GridView = session.FindById("wnd[0]/usr/tabsTABCJLE/tabpLEGR/ssubLISTE:SAPLCJWB:0902/tblSAPLCJWBTAB_902") session.FindById("wnd[0]/usr/tabsTABCJLE/tabpLEGR/ssubLISTE:SAPLCJWB:0902/tblSAPLCJWBTAB_902/txtPRPS-POST1[3,0]").CaretPosition = 4

'MsgBox ("Item= ") & GridView.GetCellValue(0, "Description") Tried this as well

MsgBox ("Item= ") & MsgBox("Item= ") & GridView.GetColumntitle(4, 0)

I've included a snapshot of the gridview I use to get the info to extract and have highlighted the cells I need!

I'd also appreciate telling me where I can get tutorials and/or documentation about scripting! There doesn't seem to be much out there!

Thanks

Pete

Attachments

capture.png (53.9 kB)