This is an Unbound control. We decied to take this route because we had everything in a query, because we did not want the info to update the database it is pullling info from. Below is a design view.
Main Topics
Browse All TopicsI have some code. It is working great and grabbing the Device info from an inventory database and putting it into the current form device type. The issue is that it updates every record on the form to show the exact same device even though they are different devices. Any help would be greatly appreciated.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Private Sub Monitor_SN_Txt_AfterUpdate
Monitor_Type_Txt = Dlookup("device_type", "inventory", "serial_number = '" & Monitor_SN_Txt & "'")
End Sub
Three solutions:
1) Replace Monitor_SN_Txt by a combo box. The first column will be the SN, the second will be the device type. You can extract the second column with
= Monitor_SN_Combo.Column(1)
(The first column is column 0).
2) Keep a text box and type the DLookup expression as control source in of Monitor_Type_Txt.
3) Replace the source of your form with a query linking your current table to the table 'Inventory', and add directly the field device_type. This is the preferred method.
Good luck!
(°v°)
Business Accounts
Answer for Membership
by: harfangPosted on 2009-11-05 at 12:34:44ID: 25753688
Is Monitor_Type_Txt a bound control? Is there something in the property "control source"? If not, you will see the same content in all rows in datasheet view or continuous form view.
(°v°)