>Your return code is called before the UsersReader.Close() ;
>
>change the order of the code
>FROM
>
>
>return UsersReader ;
>UsersReader.Close() ;
>
>
>TO
>
>
>UsersReader.Close() ;
>return UsersReader ;
>
>
>
>if you need to store what UsersReader is before returning, then create a var to hold the value and then closethe connection and return the var.
>
>-->Shawn
Shawn;
That produces the following error: "Invalid attempt to Fieldcount when reader is closed". Thank you for the attempt. This is a real learning experience. When I get through I will know a few things! :)
Tom