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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|