A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Prevent data entry in textbox



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2009, 04:06 AM posted to microsoft.public.access
dhstein
external usenet poster
 
Posts: 665
Default Prevent data entry in textbox

I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.


  #2  
Old July 8th, 2009, 04:44 AM posted to microsoft.public.access
fredg
external usenet poster
 
Posts: 4,386
Default Prevent data entry in textbox

On Tue, 7 Jul 2009 20:06:01 -0700, dhstein wrote:

I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.


You can set the control's Locked property to Yes.
Or you can set the control's Enabled property to No.
Or you can set the control's Enabled property to No and it's Locked
property to Yes.
Try them all and see which one does what you want.

They are both found on the Data tab of the control's property sheet.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old July 8th, 2009, 04:44 AM posted to microsoft.public.access
fredg
external usenet poster
 
Posts: 4,386
Default Prevent data entry in textbox

On Tue, 7 Jul 2009 20:06:01 -0700, dhstein wrote:

I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.


You can set the control's Locked property to Yes.
Or you can set the control's Enabled property to No.
Or you can set the control's Enabled property to No and it's Locked
property to Yes.
Try them all and see which one does what you want.

They are both found on the Data tab of the control's property sheet.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #4  
Old July 8th, 2009, 04:56 AM posted to microsoft.public.access
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Prevent data entry in textbox

On Tue, 7 Jul 2009 20:06:01 -0700, dhstein
wrote:

Set the Locked property.

-Tom.
Microsoft Access MVP



I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.

  #5  
Old July 8th, 2009, 04:56 AM posted to microsoft.public.access
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Prevent data entry in textbox

On Tue, 7 Jul 2009 20:06:01 -0700, dhstein
wrote:

Set the Locked property.

-Tom.
Microsoft Access MVP



I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.

  #6  
Old July 8th, 2009, 01:48 PM posted to microsoft.public.access
dhstein
external usenet poster
 
Posts: 665
Default Prevent data entry in textbox

Fred and Ton,

Thanks for your replies. I just couldn't find that before for some reason
- brain freeze I guess.



"Tom van Stiphout" wrote:

On Tue, 7 Jul 2009 20:06:01 -0700, dhstein
wrote:

Set the Locked property.

-Tom.
Microsoft Access MVP



I have some textboxes that are prevented from data being entered. Now I
can't find the setting to do that for another text box. I thought there was
an "allow edits" or something - but I just don't see it. I appreciate any
help on this.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.