Forum Discussion

Dewayne_Pinion's avatar
Dewayne_Pinion
Contributor
11 years ago

Trying to access datagrid for table checkpoint

Greetings,

I was able to quickly figure out my first issue via this forum, so now I am back for round 2 :)



I am trying to access the values in a datagrid for a table checkpoint. When I try to create it I get an error message (see attached capture). The object name as identified by the target is:



Aliases.M3_AKShell.frmMainVsd.tableLayoutPanel1.dockPanel.DockWindow.DockPane.Holder.DRInputModule.toolStripContainer1.ToolStripContentPanel.panel2.tlpGrids.splitContainer1.SplitterPanel.dgvDescriptionRows



The CLSFullName is M3.CustomControls.M3DataGridView



I tried object mapping but still receiving the same error.



Thanks for any help!
  • Just wanted to post an update in case more information is needed. I am able to access individual cells in the datagrid view using something like:



    Call aqObject.CheckProperty(M3DataGridView, "wValue(379, ""Today's Amount"")", cmpEqual, -356.10)



    where M3DataGridView = Aliases.M3_AKShell.frmMainVsd.tableLayoutPanel1.dockPanel.DockWindow.DockPane.Holder.DRInputModule.toolStripContainer1.ToolStripContentPanel.panel2.tlpGrids.splitContainer1.SplitterPanel.dgvDescriptionRows



    However I would really like to use a table checkpoint for testing all the values in the datagridview. Is this possible?