Hi!
I'm stuck at using the faq . These two lines are red
and I'm not sure what to do with it...
These are supposed to be instructions:
Can anybody explain a little bit more precisely?
Thank you very much!
Mare
I'm stuck at using the faq . These two lines are red
Code:
Private WithEvents mCombo As Access.ComboBox
Private WithEvents mForm As Access.Form
These are supposed to be instructions:
Code:
Option Compare Database
Option Explicit
'Class Module Name: FindAsYouTypeCombo
'Purpose: Turn any combobox into a "Find As You Type" 'Combobox
'Created by: MajP
'Demonstrates: OOP, and With Events
'
'Use:To use the class, you need code similar to the 'following in a form's module.
'Also requires a reference to DAO
'Two properties must be set: FilterComboBox
'and FilterFieldName. These are the combo box object
'and the name of the field that you are filtering.
'
'Public faytCombo As FindAsYouTypeCombo
'
'Private Sub Form_Open(Cancel As Integer)
' Set faytCombo = New FindAsYouTypeCombo
' Set faytCombo.FilterComboBox = Me.YourComboBoxName
' faytCombo.FilterFieldName = "strLastName"
'End Sub
'
'
Can anybody explain a little bit more precisely?
Thank you very much!
Mare