Link to home
Start Free TrialLog in
Avatar of mustish1
mustish1

asked on

Button is not working

I create a new button to add records. I am unable to open my drop-down. Also, the add new button is not working. Can you please help me out?

Scheduling.accdb

ASKER CERTIFIED SOLUTION
Avatar of Bitsqueezer
Bitsqueezer
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mustish1
mustish1

ASKER

I add the script now it's working fine. But every time I open the form it shows the last ented record.

Schedulingnew.accdb
Take a look at the attached.  As explain in another one of your questions (https://www.experts-exchange.com/questions/29256618/set-default-in-text-box.htmlhttps://www.experts-exchange.com/questions/29256617/set-default-value.html), you can use the Form's Open event to automatically navigate the a new record using

DoCmd.GotoRecord , , acNewRec

Open in new window

The other choice is to set the Data Entry property of the form, this way you never see existing record.  The form is solely for making new entries.  It depends on your goal.


Schedulingnew.accdb
What this error means?
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank You.