Topic: Auto-fill a TextBox from a ComboBox
Hello everyone,
I’m working with My Visual Database and I need help with the following:
- I have a table called `Spec` with the fields:
- `LevelClass`
- `CustMassOfContam`
- I have a form called `Test` with:
- A ComboBox `CB_LevelClass` for selecting a `LevelClass`
- A TextBox `EDMassOfContamCust` where I want to automatically display the `CustMassOfContam` value corresponding to the selected `LevelClass`
My goal is:
- When selecting a value in the ComboBox, the TextBox should automatically display the corresponding value from the `Spec` table.
Does anyone know how to achieve this?
Thank you in advance for any guidance.