zunaira
10 years agoOccasional Contributor
Object required Excaption
i have had this exception , and i am just stuck in it.
whenever i try to get any property of any object i have this runtime error Object required even if i have got the object while checked through debuging, kindly help me members
Set firstGrid=obj_modelerRequest
Set countRow=firstGrid.wRowCount
Error:
Object required: 'firstGrid.VisibleRowCount'
Error location:
Unit: "Transree\TransreeAutomatedProject\Script\Functionality"
Line: 461 Column: 4.
firstGrid has got object while adding to Watch list n also has this propert "wRowCount" n has value "5".
i have found my mistake
i have to declare rowCount as varriable by using Dim keword , Set keyword is only used with Objects