Placeholder text in an unfilled (empty) text box on an Access form

JRU picture JRU · Oct 30, 2013 · Viewed 8.9k times · Source

How can I add "placeholder" text to a Text Box in an Access form?

Before the user has typed anything into the text box I want it to display something like

Name: [Please enter the right name]

and then when the user enters some value the text box should show that instead.

Answer

4dmonster picture 4dmonster · Oct 30, 2013

Use the .Format property, for text values it will be like this:

@;"Please enter the right name"