Vijay is right, you need to use RS, because you have RS defined throughout. However, the code that it's giving you the error for is not the code you posted. The code you posted should be Rs not objRS, and it is in different form than the code posted.
Brian
|