combo box events. loading another text box upon the values of one.

saleemMSMS

Registered User.
Local time
Tomorrow, 00:46
Joined
Aug 12, 2009
Messages
92
please refer the following table
2ptouhl.gif


i created a form to the above table.
participant group names are loaded into a combo box.

another text box is assigned to the participantGroupType Column

what i want is when a person selects the type name, the relevant type should be entered to the text box.

how an i do that ?
 
You need to load the participantGroupName field and the participantGroupType field into the combobox, then use this code:

Code:
Private Sub ComboboxName_AfterUpdate()
 Me.GroupTypeTextBoxName = Me.ComboboxName.Column(1)
End Sub
inserting your actual names, of course.
 
thanx alot buddy ;)
 

Users who are viewing this thread

Back
Top Bottom