Thanks
Joe
Expand|Select|Wrap|Line Numbers
- Select Case Me.optSearchCriteria.Value
- Case 1
- strSQL = strSelect & strFrom & strTitle
- Case 2
- strSQL = strSelect & strFrom & strDescription
- Case 3
- strSQL = strSelect & strFrom & strSubmitter
- Case 4
- strSQL = strSelect & strFrom & strOwner
- End Select
- Me!txtSearchDump.SetFocus ' *** Error occurs here when i try to move the set focus *** '
- Me!txtSearchDump.Text = strSQL
- CurrentDb.QueryDefs("qryCoreSearch").SQL = strSQL
- Me.lstCoreSearch.Requery
- End Sub