Microsoft Access - Adding a Progress Bar

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • Demonstrating how you can easily incorporate a customizable and resizable Progress Bar within any Microsoft Access database using a standard form and a little bit of VBA code. Great for iterative processes or tasks with multiple steps to visually show the user that progress is being made so they don't think the application has frozen.
    Blog Articles on the Subject:
    • www.devhut.net/microsoft-acce...
    My Links:
    • www.cardaconsultants.com/
    • www.devhut.net/
  • НаукаНаука

Комментарии • 23

  • @JWinAus
    @JWinAus Год назад

    Excellent video! This is exactly what I was looking for.

    • @DanielPineault
      @DanielPineault  Год назад +1

      Thank you. The article and demo file will follow shortly.

  • @johnclark851
    @johnclark851 Год назад

    Excellent video Daniel...

  • @kiyabonhende8394
    @kiyabonhende8394 Месяц назад

    Thanks you very much!

    • @DanielPineault
      @DanielPineault  Месяц назад

      Your welcome. Glad you found it useful. Thank you for watching.

  • @JWinAus
    @JWinAus Год назад

    Hi Daniel. I was shocked to see tonight that your Devhut site is no longer up. I hope all is well and that you will be back very soon. Your videos and material on the Devhut site were very valuable and I learned a lot from it all. I wish you all the best and hope to see you back.

    • @DanielPineault
      @DanielPineault  Год назад

      The site will not be returning. As for the RUclips channel, I still haven't made a decision yet.

    • @JWinAus
      @JWinAus Год назад

      @@DanielPineault I am sad to hear that, Daniel. Your material is brilliant and taught me a lot. I wish you well for the future. Thank you for all your effort of the years.

  • @lorenzogaruglieri7046
    @lorenzogaruglieri7046 Год назад

    Hi Daniel, one more consideration:
    what do you think of the possibility, in order not to give the feeling of a blocked process, to insert a flashing semaphore option that makes the user understand that the process is not blocked? That is, the bar scrolls and obviously advances when a process ends and passes to the next. If a process is very long then it will visually hang at a certain percentage. Could implementing a sort of flashing message via the Timer event be a viable way? Should use be made of the DoEvents command?
    Thanks in advance for your opinion.
    Lorenzo

    • @DanielPineault
      @DanielPineault  Год назад +1

      I'll see if I can fiddle with it some more as you've given me a couple ideas.

  • @dbdata9836
    @dbdata9836 Год назад

    Fantastic

  • @lorenzogaruglieri7046
    @lorenzogaruglieri7046 Год назад

    Hi Daniel and Happy New Year. While waiting for any new developments for the progressbar, another idea came to my mind, perhaps a substitute for the previous one. That is: to have a double progress bar (the second optional). This solution would already allow managing very long processes which are often composed of sub-processes. Thus we would perhaps have the main bar that scrolls slowly (because it represents a process that contains others inside it) while the second bar would have a faster progress (precisely because it represents the sub-processes). What do you think about it. Thanks Lorenzo

    • @DanielPineault
      @DanielPineault  Год назад +1

      Yes, I've done that for some clients. It is the exact same thing as demonstrated, just a question of adding another set of superimposed control with events and calling them in your loop.
      Not sure what 2023 has in store for me, but I'll see if I can't add an example to the demo file in the coming days/weeks.

  • @TreverMah
    @TreverMah Год назад

    How would this handle any errors that occur or user interaction to stop the process from completing?

    • @DanielPineault
      @DanielPineault  Год назад +1

      Hide the progress bar and then code things to provide some response, rollback changes, ... It all depends on what process was being run. This is something you have to code yourself depending on what you are doing and how you wish to handle errors.

  • @lorenzogaruglieri7046
    @lorenzogaruglieri7046 Год назад

    Hi Daniel, great video.
    Question: In the past few days I asked you how to use the data export function in EXCEL to create a file with multiple cards. I saw that in your example, you perform just that function.
    I tried to download the demo file but the test function inherent to the export in Excel is not present? Is it possible to have that part, or better yet a quick video where you explain exporting multiple recordsets to the same EXCEL file?
    I would be very grateful
    Lorenzo

    • @DanielPineault
      @DanielPineault  Год назад +1

      Sure Lorenzo, I'll create a video about this. I removed that export because the demo database with the sample data was huge, but I can certainly create something more manageable.

  • @dbdata9836
    @dbdata9836 Год назад

    Thanks

  • @jeffgarrison5162
    @jeffgarrison5162 Год назад

    I just came across this as this is something I've beeen looking for for some time. Stupid question though....How would I invoke the process? I tried to put the Generic Test in the code, but it came back after a bit and said I was out of memory. What I'm most looking for is the Test 2 approach using a dynamic overlay with the number of steps. The user would select the number of queries (which will determine the number of the iterations).

    • @DanielPineault
      @DanielPineault  Год назад

      Without seeing your code I'm not sure what I can advise. You should be able to copy/paste any of the example routines and modify them to suit your need.
      Have you step through the code to see what values are being returned to see if your coding logic make sense?
      Perhaps post your question a forum.