M
msam137
Hello I am trying to create a editable translator database. The user
wants to be able to one word or phrase from a cboWords and be able to
have the results printed. But everytime I cllick on the findword
button I get a dialog asking me to enter the word and then after I hit
enter the report opens but it is not filtered it shows all the words
and translation enter.
Private Sub Command3_Click()
Dim strDocName As String
Dim strForm As String
On Error GoTo Err_Search_Click
strDocName = "rptEnglish"
DoCmd.OpenReport strDocName, acViewPreview, , "English = '" & Me!
cboEng_Word.Value & "'"
Exit_Command3_Click:
Exit Sub
Err_Search_Click:
MsgBox Err.Description
Resume Exit_Command3_Click
End Sub
wants to be able to one word or phrase from a cboWords and be able to
have the results printed. But everytime I cllick on the findword
button I get a dialog asking me to enter the word and then after I hit
enter the report opens but it is not filtered it shows all the words
and translation enter.
Private Sub Command3_Click()
Dim strDocName As String
Dim strForm As String
On Error GoTo Err_Search_Click
strDocName = "rptEnglish"
DoCmd.OpenReport strDocName, acViewPreview, , "English = '" & Me!
cboEng_Word.Value & "'"
Exit_Command3_Click:
Exit Sub
Err_Search_Click:
MsgBox Err.Description
Resume Exit_Command3_Click
End Sub