Use the following syntax:
strSQL="SELECT * FROM datasource
WHERE tr_date = '"& sdate &"' ;"
strSQL is a string variable that contains your query. Other things to make sure you are doing correctly:
1.Make sure tr_date is the actual nameof your field in the SQL Server table datasource.
2. When using dates in SQL Server enclose the dates with (' ').
3. Whatever your using to execute the query (Recordset,Command Object, etc..) make sure it can see the SQL Server table.
If you are still getting an error send me your blurb of code and I can take a look at it.
Good Luck
Neal Martinelli