Results 1 to 3 of 3
  1. #1
    Regis Borda is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    Jul 2018
    Posts
    1

    Acesso a Clientes específicos por usuário

    Prezados amigos,

    Tenho uma tabela abaixo onde cada usuário é responsável pelo controle de alguns Clientes referente aos lançamentos de (Receitas, Despesas, Medições etc)

    CLIENTE ESTADO RESPONSÁVEL

    ABBOTT RJ BRUNO MIGUEZ / SÉRGIO
    BIOMÉRIEUX RJ BRUNO MIGUEZ / SÉRGIO
    ZYDUS NIKKHO RJ BRUNO MIGUEZ / SÉRGIO
    C & A MODAS RJ HUGO GUIMARÃES / CLEIDE ARAÚJO / SÉRGIO
    ED. BOTAGOFO RJ HUGO GUIMARÃES / CLEIDE ARAÚJO / SÉRGIO
    AMBEV (CERVEJARIA ZX) RJ HUGO GUIMARÃES / CLEIDE ARAÚJO / SÉRGIO
    MASSAS NÁPOLES RJ HUGO GUIMARÃES / CLEIDE ARAÚJO / SÉRGIO
    LUBRIZOL RJ JEFFERSON PRATES / SÉRGIO
    BIMBO PE KARLA CAVALCANTI / DIOMEDES SANTOS / SÉRGIO
    DAIRY PARTINER MAS -DPA PE KARLA CAVALCANTI / DIOMEDES SANTOS / SÉRGIO
    ENERGÉTICA SUAPE PE KARLA CAVALCANTI / DIOMEDES SANTOS / SÉRGIO


    CAPRICCHE RJ KARLA CAVALCANTI / MARCELO HENRIQUE / SÉRGIO
    CONDOMÍNIO CITY TOWER RJ THAMIRES SOARES / SÉRGIO
    DIX (RIO SUL) RJ THAMIRES SOARES / SÉRGIO
    FGV TORRE OSCAR NIEMEYER RJ THAMIRES SOARES / SÉRGIO

    Preciso fazer com que o Usuário, após fazer seu login enxergue apenas seus Clientes conforme tabela acima.

    Porém, o diretor da empresa precisa ter acesso a todos os Clientes, no caso seria o SÉRGIO

    Tem algum jeito de fazer isso ?

    Muito Grato,

    Abs,

    Regis Borda:.




  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,821
    Hi

    This should be managed in more than 1 table.

    1 table contains details or the Person Responsible

    2nd table contains the People the Person is responsible for.

  3. #3
    Hipromark is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2020
    Location
    Bogota, Colombia
    Posts
    15
    As mike just told you, you´ll need to create 2 tables, one with the users and also create passwords there or at least IDs to identify each user, then another table that will contain the clients of each user. In the case of Sergio, his Id will be linked to every record in the clients table, so that way he will have access to all the clients. Let me know if you need further assistance with this

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums