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  

Hide or Disable Add New Record Button



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 09:08 PM posted to microsoft.public.access
Dorian
external usenet poster
 
Posts: 542
Default Hide or Disable Add New Record Button

Have your custon 'add button' set the alloweditions to true when it is
clicked and then set it to false once it has finished doing the add.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"Dee" wrote:

Could someone tell me what the vba code is to hide or disable the add new
record button on the navigation bar? I do not want to set the "allow
editions" options to No because this also disables my custom add new button.
I looked at the Lebans site but it did not help. I tried several different
codes and either they did not work or they disabled both the add new on the
navigation and my custom add button.

  #2  
Old May 27th, 2010, 10:23 PM posted to microsoft.public.access
Dee
external usenet poster
 
Posts: 644
Default Hide or Disable Add New Record Button

Dorian,

Thanks for your reply but the add record button on the navigation bar is
still enabled when entering the form. I tried turning allow editions to no,
but then again, my custom button does not work. If I set it to no, and try
adding the alloweditions to true etc as you suggested below then I can not
add any records using my custom button - it just flickers. Any ideas?

"Dorian" wrote:

Have your custon 'add button' set the alloweditions to true when it is
clicked and then set it to false once it has finished doing the add.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"Dee" wrote:

Could someone tell me what the vba code is to hide or disable the add new
record button on the navigation bar? I do not want to set the "allow
editions" options to No because this also disables my custom add new button.
I looked at the Lebans site but it did not help. I tried several different
codes and either they did not work or they disabled both the add new on the
navigation and my custom add button.

 




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 12:41 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.