11-14-2008, 03:34 PM
Hi,
I'm currently learning to word with qtp and programming and I have some trouble with the following:
What I am trying to do is to search a webtable and make a new column for each retrieved row with content and display the content in the newly made column, but I can't get it to work properly, please help??
Thanx!
Dennis.
I'm currently learning to word with qtp and programming and I have some trouble with the following:
Code:
Aantalregels = Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").RowCount
datatable("Aantalregels","Uitvoeren")=Aantalregels
For row=1 to Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").RowCount
Do until row=Aantalregels
Set sheet=datatable.GetSheet("Uitvoeren")
sheet.addparameter "test","(Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").GetCellData(row,2))",
row=row+1
datatable("row","Uitvoeren")=row
loop
Next
What I am trying to do is to search a webtable and make a new column for each retrieved row with content and display the content in the newly made column, but I can't get it to work properly, please help??
Thanx!
Dennis.