G
Greg
Hi, I currently have a Sub procedure which has the following line of code in
it:
txt_FromCode = [cbo_FromTown].Column(5)
Similar procedures exist, with only a change in combo box name. I plan to
change this Sub into a Function and then call the function from each combo
box event. How do I refer to the combo box name in the function?:
txt_FromCode = ????.Column(5)
What should I dim ComboName as?:
Function CBF_UpdateFields (ComboName as ????)
What would the Call statement look like:
Call CBF_UpdateFields(??????)
it:
txt_FromCode = [cbo_FromTown].Column(5)
Similar procedures exist, with only a change in combo box name. I plan to
change this Sub into a Function and then call the function from each combo
box event. How do I refer to the combo box name in the function?:
txt_FromCode = ????.Column(5)
What should I dim ComboName as?:
Function CBF_UpdateFields (ComboName as ????)
What would the Call statement look like:
Call CBF_UpdateFields(??????)