I can't read the database you sent to the group
(also, usually files are uploaded to the group website, not sure if we're
supposed to send to the group or not).
But let me explain the below situation
better.
The code I gave you should go in the Code
Builder. In Design mode on the form, right click on the ComboBox and click
Properties. On the Events tab, find the AfterUpdate event. Click on
the ellipses (...) on the right side of the AfterUpdate line, and choose Code
Builder. It should take you to the code window with the cursor inside the
AfterUpdate event code. This is where you should paste
Me.SubFormName.Form.RecordsetClone.FindFirst "[ContactID] = " &
Me![ComboBoxName] Me.SubFormName.Form.Bookmark = Me.SubFormName.Form.RecordsetClone.Bookmark As stated before you will need to replace
SubFormName and ComboBoxName with the correct names. Also, ContactID
should be whatever the name of the ID field is in your Contact
table.
Hope that works for you. Changing the
selection in the ComboBox should now change the data in the subform holding the
contact data.
HTH,
Toby
|
- [AccessDevelopers] Form Not Updating until next record Joe
- Re: [AccessDevelopers] Form Not Updating until next recor... Toby Bierly
- Re: [AccessDevelopers] Form Not Updating until next r... Joe Fonseca
- Re: [AccessDevelopers] Form Not Updating until next r... Joe Fonseca
- Re: [AccessDevelopers] Form Not Updating until ne... Toby Bierly
- Re: [AccessDevelopers] Form Not Updating unti... Joe Fonseca
- Re: [AccessDevelopers] Form Not Updating... Toby Bierly
- Re: [AccessDevelopers] Form Not Updating... Toby Bierly
- Re: [AccessDevelopers] Form Not Updating until ne... Toby Bierly
- Re: [AccessDevelopers] Form Not Updating until next recor... pdoughe798