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
|
|||
|
|||
AllowEdits False and a combo box
Hi there.
I have a form that I open in read only mode, by setting the Me.AllowEdits = False on the forms Current event. And then when they click on an edit button, I set Me.AllowEdits = True. That works great. Except that, because of the form being in read only mode, my combo box control that let's the user lookup a particular record doesn't work. Is there a setting that I can use just on the combo box to make it work when the form's allowedits is set to False? thanks in advance!! Marty |
#2
|
|||
|
|||
AllowEdits False and a combo box
"MartyO" wrote in message
... Hi there. I have a form that I open in read only mode, by setting the Me.AllowEdits = False on the forms Current event. And then when they click on an edit button, I set Me.AllowEdits = True. That works great. Except that, because of the form being in read only mode, my combo box control that let's the user lookup a particular record doesn't work. Is there a setting that I can use just on the combo box to make it work when the form's allowedits is set to False? thanks in advance!! One approach is to use the combo box's Enter event to set AllowEdits to True, and use its Exit event to set AllowEdits to False again. -- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup) |
#3
|
|||
|
|||
AllowEdits False and a combo box
Perfect! Thanks so much!
"Dirk Goldgar" wrote: "MartyO" wrote in message ... Hi there. I have a form that I open in read only mode, by setting the Me.AllowEdits = False on the forms Current event. And then when they click on an edit button, I set Me.AllowEdits = True. That works great. Except that, because of the form being in read only mode, my combo box control that let's the user lookup a particular record doesn't work. Is there a setting that I can use just on the combo box to make it work when the form's allowedits is set to False? thanks in advance!! One approach is to use the combo box's Enter event to set AllowEdits to True, and use its Exit event to set AllowEdits to False again. -- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup) |
Thread Tools | |
Display Modes | |
|
|