This is something which I have "avoided" [using homemade means] along time ago because it has wound me up, but it has come up again, and it needs sorting ![[evil] [evil] [evil]](/data/assets/smilies/evil.gif)
I have a table field which contains a numeric value which relates to a lookup table containing a related image and text description.
I have a dropdown combo, which gets its rowsource from the aforementioned lookup table:
3 columns - 1 for the visible label, 2 as the boundcolumn field and 3 as the image name
The controlsource of the combo is set to the field from the first table and I am hoping that by setting the boundcolumn to "2", the value of column two of the combo will control the field value. This has worked successfully in other saituations but this may be fluke.
When the dropdown is used I would like the text in the combobox to reflect the new choice, automatically change the value of the controlsource table field and change the image to the new value.
The image is changing (easy) but when I change the value of the combo it changes to the new value but then immediately reverts back to its original value (d'oh!). I am getting so far up my own **** now that I cannot see the best way to sort this. I am convinced that I have the whole concept of what to do with control sources wrong and that I need some guidance. Any ideas?
Derren
[Mediocre talent - spread really thin]
![[evil] [evil] [evil]](/data/assets/smilies/evil.gif)
I have a table field which contains a numeric value which relates to a lookup table containing a related image and text description.
I have a dropdown combo, which gets its rowsource from the aforementioned lookup table:
3 columns - 1 for the visible label, 2 as the boundcolumn field and 3 as the image name
The controlsource of the combo is set to the field from the first table and I am hoping that by setting the boundcolumn to "2", the value of column two of the combo will control the field value. This has worked successfully in other saituations but this may be fluke.
When the dropdown is used I would like the text in the combobox to reflect the new choice, automatically change the value of the controlsource table field and change the image to the new value.
The image is changing (easy) but when I change the value of the combo it changes to the new value but then immediately reverts back to its original value (d'oh!). I am getting so far up my own **** now that I cannot see the best way to sort this. I am convinced that I have the whole concept of what to do with control sources wrong and that I need some guidance. Any ideas?
Derren
[Mediocre talent - spread really thin]