Need help with auto-fill of form field

utzja1

Registered User.
Local time
Today, 04:37
Joined
Oct 18, 2012
Messages
97
Greetings, I have a form that is populated by the User via a combo-box lookup. I'm trying to get an unbound field on the form populated after the combo-box is updated; the goal is that the field will have a value from a table (other than the form source) whose record can be found using the value from the combo-box.

Say for example, the User selects an OBJECTID of 100 and the form populates. There is another table in the database that has an OBJECTID field but that also has a different code or designation for the same asset. This is the value I want to pull into this field. I have tried the DoCmd.SearchForRecord approach, but Access doesn't seem to be buying it.

Is there a direct way to reference this value into the field, or do I need to consider making a query the source of the table and going that route?

Consideration and suggestions are greatly appreciated.
 
Well, it took a little grunt work but the correct value is now being pulled into the form. Thanks yet again!
 

Users who are viewing this thread

Back
Top Bottom