View Single Post
  #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.