Darshana
9 years agoOccasional Contributor
How can I use clickcolumnheader for my TDBGrid?
I can see the oprion of clickcolumnheader with my object
Dim dlgABILLity
Set aBILLity = Aliases.aBILLity
Set frmChargegroups = aBILLity.MasterForm.MdiClient.frmChargegroups
Set TDBGrid = frmChargegroups.TDBGrid
'TDBGrid.ClickColumnHeader("Destination")
call TDBgrid.ClickColumnHeader("Destination")
but if I run the same it show the error "An error occured"
Dim dlgABILLity
Set aBILLity = Aliases.aBILLity
Set frmChargegroups = aBILLity.MasterForm.MdiClient.frmChargegroups
Set TDBGrid = frmChargegroups.TDBGrid
'TDBGrid.ClickColumnHeader("Destination")
call TDBgrid.ClickColumnHeader("Destination")
I am using Testcomplete 11.
Thanks
Darshana