Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-02-06
9
Medium Priority
?
301 Views
Last Modified: 2014-02-19
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
0
Comment
Question by:lehi52
  • 4
  • 4
9 Comments
 
LVL 85
ID: 39840733
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.
0
 
LVL 10

Expert Comment

by:Gozreh
ID: 39841082
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.
0
 

Author Comment

by:lehi52
ID: 39841888
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Gozreh
ID: 39842147
You can use the OnCurrent event to fill in the combo box with the person name, like Me.Dropdown = Me.Person
0
 

Author Comment

by:lehi52
ID: 39842843
I dont see an on current event.  There is a on Change?
0
 
LVL 10

Expert Comment

by:Gozreh
ID: 39842867
Private Sub Form_Current()

End Sub

Open in new window

0
 

Author Comment

by:lehi52
ID: 39843074
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

0
 
LVL 10

Accepted Solution

by:
Gozreh earned 2000 total points
ID: 39846008
Whats the name of your combobox ?? isn't "Display", so you should write
Private Sub Form_Current()
   Me.display = Me.ContactID
End Sub

Open in new window

0
 

Author Closing Comment

by:lehi52
ID: 39846215
Good job.  Thanks it worked
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question