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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Disable Command Button



 
 
Thread Tools Display Modes
  #11  
Old December 18th, 2006, 11:17 PM posted to microsoft.public.access.forms
mdavis via AccessMonster.com
external usenet poster
 
Posts: 15
Default Disable Command Button

Does anyone know the code I should add to make this work?

Thanks in advance.

mdavis wrote:
The COMMAND BUTTON stays disabled? I can't seem to get it to be enabled
after I delete the record.

I probably should've mentioned that the control that you are referring to as
"Combo B" is actually an unbound List Box. In order to edit or delete the
record in the List Box I click on an EDIT COMMAND BUTTON which opens up
another form for me to edit the record or click on a DELETE COMMAND BUTTON to
delete the record.

Should I be placing the code somewhere else instead of the LIST BOX?

I apologize for not supplying you with all of the info. I was trying to keep
it as simple as possible.

This works great.
But now if I delete the record that is in COMBO B how do I make the COMMAND

[quoted text clipped - 3 lines]

Place the same code in the ComboB AfterUpdate event.


--
Message posted via http://www.accessmonster.com

 




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 01:25 PM.


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