QTP code to perform double click action.

I worked on a requirement, where i had to view the contents of folder in documentum by double clicking the folders. I used the following code for this…

   1: 'Wait Property to wait for the contents of table to display 
completely
   2: Browser("abc").Page("pqr").Frame("xyz").WebTables( 
"TableName").WaitProperty "rows",micGreaterThanOrEqual(1)
   3: 'Use ondblclick fireevent to double click on the required 
folder.
   4: Browser("abc").Page("pqr").Frame("xyz").WebTables( 
"TableName").ChildItem(RowNumber,ColumnNumber,"object",0)
.fireevent "ondblclick"
   5: Browser("abc").Page("pqr").Sync

I have used web tables because, QTP was recognizing the folders as images and view as table.