I have a combo box that lists only the firstnames in no specific order. my settings for the combo box are:
column count="4"
column widths= 0";1";1";0"
row source= "dbo_tblName"
row source type=" table/query"
bound column ="1"
and when you click on a selection it fills my textboxes on my form with this code.
Private Sub Combo22_AfterUpdate()
Me.txtNameId = Combo22.Column(0)
Me.txtFirstName = Combo22.Column(1)
Me.txtLastName = Combo22.Column(2)
Me.txtTitle = Combo22.Column(3)
End Sub
can someone tell me how I can display the Lastname, FirstName in Ascending order in the combo box 22 and still allow the user to select a name to fill in the textboxes on the form?
column count="4"
column widths= 0";1";1";0"
row source= "dbo_tblName"
row source type=" table/query"
bound column ="1"
and when you click on a selection it fills my textboxes on my form with this code.
Private Sub Combo22_AfterUpdate()
Me.txtNameId = Combo22.Column(0)
Me.txtFirstName = Combo22.Column(1)
Me.txtLastName = Combo22.Column(2)
Me.txtTitle = Combo22.Column(3)
End Sub
can someone tell me how I can display the Lastname, FirstName in Ascending order in the combo box 22 and still allow the user to select a name to fill in the textboxes on the form?