![]() |
Sergey Kornilov admin 9/21/2006 |
You can use AfterSuccessfulLogin Event for this purpose. Here is the piece of code that does the job. If user has several records assigned to him he will be always redirected to the first one. If user don't have any records he will be redirected to the Add page. function AfterSuccessfulLogin() |