hi all am trying to obtain a daily report from my database using the code below but it keeps giving me an error of false,when i say debug.print. when i say rptETR.show it gives me all the transactions and not the daily transactions.below is the code
Private Sub Cmddaily_Click()
Dim pubsql As String
Getdata "Table1"
pubsql = "SELECT * FROM table1 WHERE transaction_date " = "09/23/2010"
Debug.Print pubsql
End Sub
can anyone please help me.
if u have an idea how i would go about showing the monthly and annual report please share it with me.
thanks in advance