G
Gurvinder
I am trying to get 2 comboboxes working by using values from a single
table each combobox using one field each.
SQL Query which shows up fine in datasheet view but nothing shows up
in Form Combobox for either one.
<snip>
SELECT DISTINCT Source.dr FROM Source ORDER BY Source.dr;
</snip>
Once I get it working I would like to restrict the second combobox
using values picked from first one.
This is similar kind of code I have found examples of listed below.
Would thos work.
<snip>
' ***** Code Start *****
Private Sub cboPersonID_AfterUpdate()
Me.txtPersonName.Value = Me.cboPersonID.Column(1)
End Sub
' ***** Code End *****
</snip>
Thanks,
Gurvinder Singh
table each combobox using one field each.
SQL Query which shows up fine in datasheet view but nothing shows up
in Form Combobox for either one.
<snip>
SELECT DISTINCT Source.dr FROM Source ORDER BY Source.dr;
</snip>
Once I get it working I would like to restrict the second combobox
using values picked from first one.
This is similar kind of code I have found examples of listed below.
Would thos work.
<snip>
' ***** Code Start *****
Private Sub cboPersonID_AfterUpdate()
Me.txtPersonName.Value = Me.cboPersonID.Column(1)
End Sub
' ***** Code End *****
</snip>
Thanks,
Gurvinder Singh