N nebon Registered User. Local time Today, 21:29 Joined May 14, 2003 Messages 51 May 14, 2003 #1 hallo there , I have a combobox build upon a query, with 2 fields inside , how can I access one of them ? thnx in advance
hallo there , I have a combobox build upon a query, with 2 fields inside , how can I access one of them ? thnx in advance
dcx693 Registered User. Local time Today, 16:29 Joined Apr 30, 2003 Messages 3,265 May 14, 2003 #2 Do you mean that you have a combo box with 2 columns in it? If so, use this syntax to access the first column if you are writing code in the form's module: Me.cboBox.Column(0) and this to access the second: Me.cboBox.Column(1)
Do you mean that you have a combo box with 2 columns in it? If so, use this syntax to access the first column if you are writing code in the form's module: Me.cboBox.Column(0) and this to access the second: Me.cboBox.Column(1)
N nebon Registered User. Local time Today, 21:29 Joined May 14, 2003 Messages 51 May 14, 2003 #3 yes thats exactly what I meant , thnx alot for the help .
N nebon Registered User. Local time Today, 21:29 Joined May 14, 2003 Messages 51 May 14, 2003 #4 but where do you specify the combobox name ?
P Pat Hartman Super Moderator Staff member Local time Today, 16:29 Joined Feb 19, 2002 Messages 47,320 May 15, 2003 #5 Replace MyComboboxName with the control name of your combo box. Me.MyComoboxName.Column(0)
N nebon Registered User. Local time Today, 21:29 Joined May 14, 2003 Messages 51 May 16, 2003 #6 thanks its working now .