Parsing values and extracting secondary values

quicksilver1024

Registered User.
Local time
Today, 12:36
Joined
Jul 17, 2007
Messages
37
Passing values and extracting secondary values

Hi,

Is it possible to have a single combo box who's value will be passed into every subsequent entry of a record?

If you take a look at the attached picture, you can see a combo box for Machine. I want to push this value I select from the drop-down onto all of the Problems below. I have made a hidden field for each Problem that will hold the Machine and Machine category.

Also, each Machine has an attached Machine ID that (Machine ID) points to a Machine Category. How can I make the Machine Category of the selected Machine from the combo box appear in the list box the the right of it?

Any help is appreciated. :confused:
 

Attachments

  • subform.jpg
    subform.jpg
    62.1 KB · Views: 128
Last edited:
In general, all of what you want is possible, but I can't seem to locate any attachment.

There are numerous possibilities, but I'd like to see your image first.
 
Doing this:

Code:
Private Sub MACHINE_NAME_COMBO_AfterUpdate()
Me.MACHINE_CATEGORY_COMBO.Requery
Me.MACHINE_NAME_COMBO = Me.MACHINE_NAME_INVIS
End Sub

Will only allow me to pass the value from the combo box on to whatever Problem I am focused on. The value should be passed to all entries of the subform.
 
Here is the table for the Machine Category and its subform (Machine Name)
 

Attachments

  • machine.jpg
    machine.jpg
    37.6 KB · Views: 107
Can anyone help?

Essentially, the problem is passing values from one combo box on to all fields in the subform...
 

Users who are viewing this thread

Back
Top Bottom