J
Joanne
Is there any reason why the following statement should not turn up any hits?
There is a parties-appellant with 'test' as the only entry in it. Help!
Public Sub btnSearch_Click()
Dim SQL As String
SQL = "SELECT tblPatentCaseInformation.Citation," _
& "tblPatentCaseInformation.CaseName,tblPatentCaseInformation." _
& "[Parties-Appellant]from tblPatentCaseInformation " _
& "WHERE (((tblPatentCaseInformation.[Parties-Appellant])='test'));"
DoCmd.Echo False
DoCmd.OpenReport "CaseInformation", acViewDesign
Reports("CaseInformation").RecordSource = SQL
DoCmd.Close , , acSaveYes
DoCmd.OpenReport "CaseInformation", acViewPreview
DoCmd.Echo True
There is a parties-appellant with 'test' as the only entry in it. Help!
Public Sub btnSearch_Click()
Dim SQL As String
SQL = "SELECT tblPatentCaseInformation.Citation," _
& "tblPatentCaseInformation.CaseName,tblPatentCaseInformation." _
& "[Parties-Appellant]from tblPatentCaseInformation " _
& "WHERE (((tblPatentCaseInformation.[Parties-Appellant])='test'));"
DoCmd.Echo False
DoCmd.OpenReport "CaseInformation", acViewDesign
Reports("CaseInformation").RecordSource = SQL
DoCmd.Close , , acSaveYes
DoCmd.OpenReport "CaseInformation", acViewPreview
DoCmd.Echo True