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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I allow or disallow editing
I have a form (in MS Access 2007)that is used an an input form for
updating linked tables. I want to change the property of some text boxes on the form to be editable based on the contents of another field. For example; if a field contains a date (delivery date)in it, I want to no longer allow the user to change the EquipmentName or EquipmentQuantity fields. I want the the field to still be displayed but no longer capable of being edited. Is there an easy way to do this? I prefer to do this without writing VB code, but I can if that is the best way. Thanks! |
#2
|
|||
|
|||
How do I allow or disallow editing
In the current event of the form something like
If isnull(me.control) or len(me.control & "")0 then me.control.locked = True else me.control.locked = False end if BobC wrote: I have a form (in MS Access 2007)that is used an an input form for updating linked tables. I want to change the property of some text boxes on the form to be editable based on the contents of another field. For example; if a field contains a date (delivery date)in it, I want to no longer allow the user to change the EquipmentName or EquipmentQuantity fields. I want the the field to still be displayed but no longer capable of being edited. Is there an easy way to do this? I prefer to do this without writing VB code, but I can if that is the best way. Thanks! -- Please Rate the posting if helps you. Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...forms/200911/1 |
Thread Tools | |
Display Modes | |
|
|