Results 1 to 10 of 10
  1. #1
    ssporch is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2018
    Posts
    4

    Não mostrar determinados usuários num Formulário

    Prezados,

    No arquivo anexo, mostro um Formulário onde preciso que, quando algum usuário clicar no campo RESPONSAVEL, não sejam exibidos os Responsáveis ROGER ARIAS e MIRNA VALVERDE.

    Como fazer?

    Um abraço,

    Sérgio Sporch
    Attached Thumbnails Attached Thumbnails RESPONSAVEL_ACCESS.jpg  

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Translated from Portuguese via Google translate

    In the attached file, I show a Form where I need that, when any user clicks the RESPONSIBLE field, the Responsibles ROGER ARIAS and MIRNA VALVERDE are not displayed.

    How to make?

    What is the rowsource of the Responsibles combo?
    (From Google translate ---Qual é o rowsource da combinação de Responsáveis?)

    If the rowsource is 1)a query, or 2)a value list --

    1- add criteria to ignore these
    2 -remove them from the value list

  3. #3
    ssporch is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2018
    Posts
    4
    Thanks for your prompt answer!

    But my doubt is how to do this.

    If query, how to do this?

    If value list, how do to this?

    Please could you send me some examples?

    Regards,

    Sergio Sporch

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Post a copy of your database in zip format.

  5. #5
    ssporch is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2018
    Posts
    4

    Não mostrar determinados usuários

    My friend,

    I sent attached the Database!

    Thank you for your efforts!

    Regards,

    Sérgio Sporch
    Attached Files Attached Files

  6. #6
    Shadow9449 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Feb 2017
    Posts
    38
    E ai, Sergio. Bemvindo. Posso ajudar em ingles. Se nao entender pode perguntar em portugues.

    In the query for the Row Source of the field "RESPONSAVEL", go to the CDO_RESPONSAVEL field and add the criteria "<>2 And <>4". That will exclude the names with those associated IDs.

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Or add a where clause to the existing rowsource to make it more generic

    Code:
    where Activo = True
    

  8. #8
    Shadow9449 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Feb 2017
    Posts
    38
    Quote Originally Posted by orange View Post
    Or add a where clause to the existing rowsource to make it more generic

    Code:
    where Activo = True
    
    Good call! I didn't delve into the tables enough to see why those were being excluded - I just posted the direct solution but yours actually addresses what Sergio is after.

  9. #9
    ssporch is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2018
    Posts
    4

    Hi

    Quote Originally Posted by Shadow9449 View Post
    Good call! I didn't delve into the tables enough to see why those were being excluded - I just posted the direct solution but yours actually addresses what Sergio is after.
    I didn´t received you direct post.

    Could you send to my email (sergio.sporch@gmail.com)?

    Thanks and regards!

  10. #10
    Shadow9449 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Feb 2017
    Posts
    38
    Quote Originally Posted by ssporch View Post
    I didn´t received you direct post.

    Could you send to my email (sergio.sporch@gmail.com)?

    Thanks and regards!
    Desculpe, mas não quero. Voce ainda tem uma duvida?

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

Similar Threads

  1. Replies: 3
    Last Post: 09-17-2012, 10:14 AM

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