A Form at Login

roshandilrukroshandilruk Member Posts: 51
Hi,

I hope you guys could help me with this.

You know in the early versions of Nav they had an option under, General Ledger->Set up---->Users ----> User Setup, and then you set a form as the Main-Menu. So when specific users log in they would directly see only that form.

I’m working on an upgrade and I need exactly the same thing in Nav 2009 classic. Some users should only see a particular form when they log in. I don’t want them to see the navigation pain at all. However in Nav 2009 they have removed this facility.

Does anyone know how to setup a form at the login in Nav 2009 Classic ?

Appreciate your help

Cheers

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Unassign the user from all Navigation Pane Menus and give him/her just a shortcut to that form.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • roshandilrukroshandilruk Member Posts: 51
    Unassign the user from all Navigation Pane Menus and give him/her just a shortcut to that form.

    Hi einsTeIn.NET,

    I tried what you have mentioned as it sounds like a great solution to this. However, I couldn't find a way of doing this. Would you mind explain a bit ?

    Thanks
    Cheers
    RDW
  • roshandilrukroshandilruk Member Posts: 51

    Hi Mark,

    Thanks a million for you advice. I have tried this and it works perfect. It’s kind of what I wanted. The idea is that to prompt a form based on the User ID. I have two common Users , one is CASHIER and the other is MANAGER. The only problem is, I could get the logged user ID from the Session Table, but when I compare the value with the user id it doesn’t read that code.

    This Works, I could see the user id on the message

    lrecSession.SETRANGE("My Session", TRUE);
    IF lrecSession.FINDFIRST THEN BEGIN
    UID :=lrecSession."User ID";
    MESSAGE('%1',UID);

    But the below doesn’t work

    IF UID = 'CASHIER' THEN
    FORM.RUN(FORM::"Cashier Form");

    For some reason I can get the UID variable to validate eventhough it works with the message function. Any clue?

    Cheers
    RDW
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Maybe an uppercase/lowercase issue?
  • roshandilrukroshandilruk Member Posts: 51
    Maybe an uppercase/lowercase issue?

    Hi Mark,

    It's really strange that I have converted both parameters to uppercase thinking the same. Then I have hardcoded just to see how this was happening. However, nothing works and it seems this may not work on the Application mgt. CU.

    Thanks
    RDW
Sign In or Register to comment.