Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 05-14-2019, 10:03 PM   #1
Abdul Ghaffar Memon
Newly Registered User
 
Join Date: Sep 2017
Location: Sindh, Pakistan
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Abdul Ghaffar Memon is on a distinguished road
Placeholder text using access 2003

Hi,

I want input type text "label name"
Attached Images
File Type: png Placeholder.png (4.2 KB, 12 views)

Abdul Ghaffar Memon is offline   Reply With Quote
Old 05-15-2019, 03:56 AM   #2
theDBguy
Iím here to help
 
theDBguy's Avatar
 
Join Date: Oct 2018
Location: SunnySandyEggo
Posts: 1,989
Thanks: 23
Thanked 512 Times in 501 Posts
theDBguy will become famous soon enough theDBguy will become famous soon enough
Re: Placeholder text using access 2003

Hi. Please consider sharing your solution.
__________________
Just my 2 cents...

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
theDBguy is offline   Reply With Quote
Old 05-15-2019, 07:45 PM   #3
missinglinq
AWF VIP
 
missinglinq's Avatar
 
Join Date: Jun 2003
Location: Richmond (Virginia that is!)
Posts: 6,244
Thanks: 11
Thanked 707 Times in 657 Posts
missinglinq is a glorious beacon of light missinglinq is a glorious beacon of light missinglinq is a glorious beacon of light missinglinq is a glorious beacon of light missinglinq is a glorious beacon of light
Re: Placeholder text using access 2003

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)>

__________________
The Devil's in the Details!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


(All code solutions tested in Access 2003/2007, before posting, unless otherwise noted.)
missinglinq is offline   Reply With Quote
The Following User Says Thank You to missinglinq For This Useful Post:
Gasman (05-15-2019)
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ghost text or placeholder for textbox guestbb General 7 06-12-2018 12:11 PM
Search box placeholder text vent General 3 05-18-2017 09:47 AM
How to add data in an Unbound text Box - Access 2003 SteveStew44 Reports 10 12-03-2014 05:32 PM
Access 2002-2003 - Report - text Box jeffc Reports 3 02-28-2008 08:31 AM
Printing text files from Access 2003 jpoindex General 1 03-06-2006 07:45 PM




All times are GMT -8. The time now is 04:39 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World