Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2007

Tip: Looking for answers? Try searching our database.

Make a Textbox uneditable

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clara - 12 Mar 2007 19:27 GMT
Hi all,

How to make a textbox uneditable

Clara

thank you so much for your help
ruralguy - 12 Mar 2007 19:32 GMT
Go to the Data tab of the properties sheet for the TextBox and play with the
Enabled and Locked properties!

>Hi all,
>
[quoted text clipped - 3 lines]
>
>thank you so much for your help

Signature

HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

missinglinq - 12 Mar 2007 20:40 GMT
Clara, when do you want to make it uneditable?  

Is the textbox being filled thru code and you never want the user to be able
to edit it? If so, Ruralguy's suggestion will do the job.

Or do you want the user to be able to fill in data for the textbox in a new
record but not be able to edit the data at a later time? In this case
something like this:

Private Sub Form_Current()
 If Not IsNull(Me.txtYourBox) Then
    Me.txtYourBox.Locked = True
 Else: Me.txtYourBoxB.Locked = False
 End If
End Sub

where txtYourBox is the actuak name of your textbox.

Signature

There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.