After searching for a while and trying different approaches I finally
found a way, that I was able to understand, to retrieve a cell on each
row in a repeating table. My problem is that while the code works, in
that it displays the contents that I am looking for, I also get an
error Object required 'objTheRow'. I am not sure why I am getting this
as it seems that everything works. Could someone take a quick look at
my code and point out where I went wrong?
set LeaveType = XDocument.DOM.selectNodes("//my:blah")
for i=0 to LeaveType.length
set objTheRow = LeaveType.item(i)
msgbox objTheRow.selectSingleNode("my:blah").text
Next
Thanks,
Mike
Franck Dauché - 25 Nov 2005 18:22 GMT
Hi Mike,
Try: for i=0 to LeaveType.length-1
Regards,
Franck Dauché
> After searching for a while and trying different approaches I finally
> found a way, that I was able to understand, to retrieve a cell on each
[quoted text clipped - 13 lines]
> Thanks,
> Mike
Mike B - 28 Nov 2005 13:41 GMT