Solved

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

Posted on 2014-02-06
9
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

707 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