I have the following code under open report. It does exactly what I want. <br><br>SQL = "SELECT * from " & Forms!frmlogdate!logfile & " where " & Forms!frmlogdate!logfile & "!Initials = """ & Forms![frmlogdate]![INITIALS] & """"<br><br>I want to append the following code to the above query and I am not sure how to do it. I am just not sure where do you put quotes to end the query statement. It is probably very simple but I am having a lot of probles with query syntax. <br><br> and Forms!frmlogdate!logfile.logdate Is Not Null And Between [Forms]![frmlogdate]![BeginningDate] And [Forms]![frmlogdate]![EndingDate]<br><br><br>Any help will be appreciated.<br> <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>