Placeholder text using access 2003 (1 Viewer)

Abdul Ghaffar Memon

New member
Local time
Today, 16:52
Joined
Sep 22, 2017
Messages
9
Hi,

I want input type text "label name"
 

Attachments

  • Placeholder.png
    Placeholder.png
    4.2 KB · Views: 60

theDBguy

I’m here to help
Staff member
Local time
Today, 05:52
Joined
Oct 29, 2018
Messages
21,358
Hi. Please consider sharing your solution.
 

missinglinq

AWF VIP
Local time
Today, 08:52
Joined
Jun 20, 2003
Messages
6,423
I once wrote a hack for this, as have others, requiring the use of three or four events...to make the prompt appear...then disappear when the Control is entered, etc...then checking, in the Form_Before Event to see if the prompt was still populating the Textbox...if so, setting the Control's Value to Null.

Then found this ultra-simply way to accomplish the same thing:

In the Control's Format Property simply enter

@;"Your Prompt Goes Here"

Prompt will disappear when Control is entered...reappear when Control is left, if no data has been entered. Also, if no data is entered...the field bound to the Control remains Null.

Linq ;0)>
 

Users who are viewing this thread

Top Bottom