I need your help to ammend this code
Posted on 2002-07-22
Please read the following code:
Private Sub Command1_Click()
Dim CLA as string
Me.Combo1.Visible = True
ClA = Me.Combo1.Text
Me.Adodc1.Recordset.Filter = "Code = '" & ClA & "'"
in form load: Combo1.Visible = False
my problem is: by clicking Command1, combo1 becomes visible true , but VB go directly to the next line of the code without waiting to select a value from combo1 to put in CLA as shown above...
I need your help to show me how to make combo1 stop and WAIT until i select a value then complete the code ...