It's not that you can't use a Memo Field in a Combobox...it's just that they will always be truncated to the first 265 characters of the Field! Instead, you need to use the DLookup function, using Criteria to tell the Access Gnomes which Record to pull this data from:
Where the First Field/Column in the Combobox is
- A Unique Identifying Field for the Record (such as an ID Number)
- The Bound Field for the Combobox
and where
- UniqueIdentifier is the name of the Field in the Table
' If the UniqueIdentifier is Text
Code:
Private Sub ComboBoxName_AfterUpdate(Cancel As Integer)
Me.MemoFieldTextBox = DLookup("MemoFieldName", "TableName", "[UniqueIdentifier]= '" & Me.ComboBoxName & "'")
End Sub
' If the UniqueIdentifier is Numeric
Code:
Private Sub ComboBoxName_AfterUpdate(Cancel As Integer)
Me.MemoFieldTextBox = DLookup("MemoFieldName", "TableName", "[UniqueIdentifier]= " & Me.ComboBoxName)
End Sub
Replacing MemoFieldTextBox with the actual name of your description Textbox. This assumes that the Bound Column of the Combobox is the UniqueIdentifier...which I believe, from your post is 'Model.'
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007