Solved

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

Posted on 2014-02-06
9
294 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 84
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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

830 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