Can someone help me?. I'm having a trouble displaying filter records in datagrid to data report. I'm trying to print the selected record by date using filter,but when I print it, all the data in database are display instead of the selected ones. Can someone help me.thank you. Here is my code
Code:
DataEnvironment1.rsCommand1.Open "select * from patients where ID & Lastname & Givenname & DateNow = ''"
DataReport4.Refresh
DataReport4.Show
DataEnvironment1.rsCommand1.Close