English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hello all
I am beginner to VBA. I populate all the professers name in one combobox , and when i select one professer name then thier designation, department, and specialisation (I m thinking of either label or textbox to display theses value ) will automatically display from database field designation
For each field i have table in database.

How to code for this? Ca anybody please give some ready code? I really appreciate that.
Thanks in advance

2006-11-15 15:51:43 · 1 answers · asked by SAM 1 in Computers & Internet Programming & Design

1 answers

MyNewTxtBox = DLOOKUP("department", "tblProfessors", "name = comboBoxName")

Place that in the after update property of the combo box and play with it, you will get it

2006-11-15 15:56:27 · answer #1 · answered by teef_au 6 · 0 0

fedest.com, questions and answers