Link to home
Start Free TrialLog in
Avatar of lehi52
lehi52

asked on

Hitting the next button and at the same time change the drop down box display

I have a database in which I hit the next record button and it moves to the next record when I do this.   One issue is the name that displays in the drop down box does not change when I hit the next button. How do I change that?

See attached sample database.
CRM-Version-2.1-Sample--22-.accdb
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Which dropdown box? What should it change to?

When you post your database be sure to give specific instructions on recreating your issue. Many of the Experts here will grow very tired very quickly of trying to read your mind :)

Also, please Compact your database before uploading. While most enjoy a high-bandwidth, high-speed connection many of the Experts are still working on much slower connections.
To answer your question we need more specific info (as Scott said).
But overall to let you know, next record will only move bound fields, all unbound fields will stay the same.
Avatar of lehi52
lehi52

ASKER

There are two drop downs at the top left of the contact form.  It is the right drop down box that has the names of people listed.  It needs to change to the name of the person on whose record it is.
You can use the OnCurrent event to fill in the combo box with the person name, like Me.Dropdown = Me.Person
Avatar of lehi52

ASKER

I dont see an on current event.  There is a on Change?
Private Sub Form_Current()

End Sub

Open in new window

Avatar of lehi52

ASKER

I tried this and it does not seem to be working.  I just put it into the VPA.

Private Sub Form_Current()
    Me.Dropdown = Me.Connam_Name
End Sub

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Gozreh
Gozreh
Flag of United States of America 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 lehi52

ASKER

Good job.  Thanks it worked