Results 1 to 11 of 11
  1. #1
    eristonmattos is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jul 2022
    Location
    Brasil
    Posts
    3

    Agrupar campo em relatório por ordem de registro

    Bom dia a todos,

    O BD tem um formulário que abre o relatório de acordo com a data. Coloquei todos os objetos que fazem funcionar o exemplo.
    O relatório com dados de uma consulta, onde preciso que mostre a ordem de registro, mas quando eu agrupo por bairro, ele retorna em ordem alfabética, como resolver isso?

    O BD é esse: dropbox.com/s/0g6v2xdtvmqrtod/Relat%C3%B3rio%20modelo2.accdb?dl=0



    Espero poder contar com os membros.

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Este é principalmente um fórum de língua inglesa, então você deve traduzir para o inglês e depois postar isso. Pegue suas respostas em inglês e traduza-as, a menos que alguém faça isso por você. Eu usei o Google tradutor para você uma vez.

    This is mainly an English speaking forum so you should translate into English and then post that. Take your English responses and translate those, unless someone does that for you. I used Google translate for you for this one time.
    Good morning everyone,
    The DB has a form that opens the report according to the date. I put all the objects that make the example work.
    The report with data from a query, where I need it to show the record order, but when I group by neighborhood, it returns in alphabetical order, how to solve this?

    The DB is this: dropbox.com/s/0g6v2xdtvmqrtod/Relat%C3%B3rio%20modelo2.accdb?dl=0
    Reports have their own grouping and sorting features and they ignore sorting and grouping done in a query. Use the report sorting and grouping features to get the look you want. I did not download your db - it is best that you compact/repair a copy of your db, zip it and then post it here. At the top of the forum window is a button for 'how to attach files' if you need help with that.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    eristonmattos is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jul 2022
    Location
    Brasil
    Posts
    3
    Good morning everyone,
    The DB has a form that opens the report according to the date. I put all the objects that make the example work.
    The report with data from a query, where I need it to show the record order, but when I group by neighborhood, it returns in alphabetical order, how to solve this?

    The DB is this: dropbox.com/s/0g6v2xdtvmqrtod/Relat%C3%B3rio%20modelo2.accdb?dl=0

    I hope to be able to count on the members.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,861
    Micron has already given you the solution?, so what is the issue?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,861
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,861
    O/P joined that other site back in 2020, but has only now posted their first post?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #8
    eristonmattos is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jul 2022
    Location
    Brasil
    Posts
    3
    Click image for larger version. 

Name:	Report1.jpg 
Views:	16 
Size:	52.2 KB 
ID:	48397The report shows almost what I need, except that the neighborhood field doesn't match the registration order or the ID.

  9. #9
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,557
    Hi

    Is this what you expect to see in the Report?
    Attached Thumbnails Attached Thumbnails Report.JPG  
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  10. #10
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,557
    Hi

    Is this Report better?
    Attached Thumbnails Attached Thumbnails Report2.JPG  
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  11. #11
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,557
    This might be better
    Attached Thumbnails Attached Thumbnails Report3.JPG  
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

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

Similar Threads

  1. Campos Repetindo no Relatório
    By fmcmf in forum Reports
    Replies: 1
    Last Post: 12-04-2018, 06:14 PM
  2. Replies: 3
    Last Post: 03-11-2018, 08:27 AM
  3. Relatório em sequencia por data
    By PauloMaia in forum Reports
    Replies: 2
    Last Post: 01-29-2018, 12:20 PM
  4. Relatório não acoplado
    By gildezio in forum Reports
    Replies: 1
    Last Post: 05-17-2015, 08:22 AM
  5. Relatorio resumo com total de cada campo
    By gildezio in forum Reports
    Replies: 1
    Last Post: 05-14-2015, 04:15 PM

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