How do I update a Label Caption in VBA - Access 2007 ?

Posted on 2009-04-20
Last Modified: 2013-11-28

I have a program loop where the status is changing and I want to display this information through a Label Caption. This is an object on an Access 2007 form. It updates at the end of my loop but not during. How can I make it update each time I change the value?

Thanks, David.
Example: Me.MyLabel.Caption="The status has just changed from 3 to 4."

Open in new window

Question by:DataTrain
    LVL 77

    Accepted Solution



    after each change to the label.

    Author Closing Comment

    Thanks - that seams to work.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    MS Access 2016 Split Form 5 31
    using Access 8 38
    Access question - SELECT/UPDATE 11 25
    Access 2013 combo box not working 3 11
    When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
    A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
    Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now