How to make a Text Box blink if left empty in access database?

Elise 131 Reputation points
2021-05-16T04:55:17.33+00:00

How to make a Text Box blink if left empty in the access database?

Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
825 questions
0 comments No comments
{count} votes

Accepted answer
  1. DBG 2,301 Reputation points
    2021-05-28T16:43:15.097+00:00

    Okay, try the following steps, just for testing...

    1. Create a new blank form
    2. In Design View, add a Textbox (let's assume it's name is Text0)
    3. In the Properties Window of the form, find the Timer Interval property and enter 1000 (1 sec)
    4. In the On Timer property, select [Event Procedure] from the dropdown
    5. Click on the three dots next to [Event Procedure] to open the code window
    6. Enter the following code: If Me.Text0.BackColor=vbYellow Then
      Me.Text0.BackColor=vbWhite
      Else
      Me.Text0.BackColor=vbYellow
      End If
    7. View the form in Normal View

    Hope that helps...

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. DBG 2,301 Reputation points
    2021-05-16T13:26:04.507+00:00

    Hi. To make something blink requires the use of a timer. However, to have something blinking on a form could be considered annoying.

    0 comments No comments

  2. Elise 131 Reputation points
    2021-05-28T04:28:40.06+00:00

    @DBG Please help me how to make the text box blink. it's for my own personal database since I don't have anyone using it. I just want to get the knowledge on how to make it blink.

    0 comments No comments

  3. DBG 2,301 Reputation points
    2021-05-28T04:49:28.847+00:00

    No problem. As I said earlier, you will need to use a form timer. Do you know how to use it?