D DarkAngel Registered User. Local time Today, 16:06 Joined Jul 3, 2007 Messages 21 Jul 6, 2007 #1 I have a combo box with data source as a query. I want to select another field in the query from the record which is currently selected to use. Is there an easy way to do this? Thanks, Paul
I have a combo box with data source as a query. I want to select another field in the query from the record which is currently selected to use. Is there an easy way to do this? Thanks, Paul
boblarson Smeghead Local time Today, 08:06 Joined Jan 12, 2001 Messages 32,059 Jul 6, 2007 #2 You can refer to any column in the selected item in the combo box, regardless of which column is the bound column, by using: Me.YourComboBoxNameHere.Column n being a number from 0 to the number of columns in the query minus 1 (it is zero based so the first column is referred to by 0, the second by 1, etc.
You can refer to any column in the selected item in the combo box, regardless of which column is the bound column, by using: Me.YourComboBoxNameHere.Column n being a number from 0 to the number of columns in the query minus 1 (it is zero based so the first column is referred to by 0, the second by 1, etc.