Num campo com numeração sequencial, ao excluir um registro entre o primeiro e o último, fica uma lacuna, e ao navegar pelos botões anterior e próximo, dá erro.
Qual o código para fazer com que o Access pule o registro excluído, indo para o próximo?
Num campo com numeração sequencial, ao excluir um registro entre o primeiro e o último, fica uma lacuna, e ao navegar pelos botões anterior e próximo, dá erro.
Qual o código para fazer com que o Access pule o registro excluído, indo para o próximo?
Non comprende. Lo siento.![]()
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
This does not normally happen with autonumber sequencing. Are you creating your own sequence numbers?
Perhaps the best way to proceed would be to upload your database here so that we can more easily analyze the problem.
Não sei como postar parte do BD para analisar aqui no Fórum
In a field with sequential numbering, when you delete a record between the first and the last one, there's a gap, and when you navigate using the previous and next buttons, it throws an error. What's the code to make Access skip the deleted record and go to the next one?
Have you created custom navigation buttons? If so, we can start with you showing that code and a .jpg of the formwhen navigating through the previous and next buttons, there is an error.