Hi, Eric,
Before the 3rd line, did you set a breakpoint to examine the object reference to 'oRpt'? If not, put 'oRpt' in a watch window and see what it contains.
I use the same general technique (the three lines), except that the second line is always a string variable.
Kevin