Kevin,
I am assuming that by you are referring to mmFactory.cs, when you refer to my "Applications Factory.cs".
Is that the only place that I have to change the reference to MyUser? It is still skipping the MyUser.cs and going right to mmUser.cs.
Why can't I just change the code in the select of mmUser.GetAllUserNamesCmd? I have changed the code by adding the ORDER BY, and it still translates the SELECT as originally stated, without the ORDER BY.
I'm confused!!!
>Bill,
>ck
>>I attempted to modify the method "GetAllUserNamesCmd" in mmuser, but it still regers to the initial method. This is the mmuser.cs that was brought up in the debugger. Is it possible that it could be returning the valus from other mmUser.cs?
>
>Are you talking about the Users maintenance form (mmUsersForm)? If so, the command that's being called is mmUser.GetAllUsers(). If you want to change the command that's being executed, do the following:
>
>1. Sublcass mmUser
>
>2. In the constructor of your subclass, set the GetAllUserNamesCmd property value to the SELECT command you need
>
>3. In your application's Factory.cs file, override the CreateUserObject() method and return a reference to your subclass of mmUser. For example:
>
>
return new MyUser();
>
>Regards,
Bill Benton
Senior Systems Analyst
Nuvell Financial Services