How to make a Text Box blink if left empty in the access database?
How to make a Text Box blink if left empty in the access database?
Okay, try the following steps, just for testing...
Create a new blank form
In Design View, add a Textbox (let's assume it's name is Text0)
In the Properties Window of the form, find the Timer Interval property and enter 1000 (1 sec)
In the On Timer property, select [Event Procedure] from the dropdown
Click on the three dots next to [Event Procedure] to open the code window
Enter the following code:
If Me.Text0.BackColor=vbYellow Then
Me.Text0.BackColor=vbWhite
Else
Me.Text0.BackColor=vbYellow
End If
View the form in Normal View
Hope that helps...
Hi. To make something blink requires the use of a timer. However, to have something blinking on a form could be considered annoying.
@thedbguy 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.
No problem. As I said earlier, you will need to use a form timer. Do you know how to use it?
3 people are following this question.