Someone gave this code to speed up my form. It is suppose to load the list of the combo box only when required
Dim strSQL as String
strSQL = "SELECT DISTINCT [TableName].[FieldName] FROM [TableName] ORDER BY [TableName].[FieldName];"
Me.cboComboBoxName.RowSource = strSQL
It doesn't work and the debugger insist on the last line Me.cbo...
Can someone help me
Dim strSQL as String
strSQL = "SELECT DISTINCT [TableName].[FieldName] FROM [TableName] ORDER BY [TableName].[FieldName];"
Me.cboComboBoxName.RowSource = strSQL
It doesn't work and the debugger insist on the last line Me.cbo...
Can someone help me