Basic set caption problem from a noob

  • Thread starter Thread starter enaran
  • Start date Start date
E

enaran

Guest
Hi All,

Sorry for my ignorace, but I have a simple problem that I just cant nut out.

I have a combo box "cmboCouncils" which displays a list of Council abbreviations from a table called Councils.

When I select a council in the combo box I would like it to set the value of a label called labCName to the value of the field called CouncilName from the same selected record.
I am having all sorts of trouble.
Any help would be great :)

Thanks
Enaran
 
Last edited:
Why not have the ComboBox display the CouncilName?

Col
 
In the cmboCouncils AfterUpdate or Click event, add code

Me.labCName.caption = me.cmboCouncils.column(2)

this assumes that the council name is the 3rd column in the combo box.

Peter
 

Users who are viewing this thread

Back
Top Bottom