|
-
Nov 20th, 2002, 07:34 AM
#1
Thread Starter
Hyperactive Member
Datareport and sql query
I am trying to create a datareport, so when the user clicks a button, the report will appear, and display only certain info from the database.
The datareport should only show data where the date field is todays date:
i.e. something like this
"SELECT DateOfTask, Task FROM Table1 WHERE DateOfTask =" & " ' " & date & " ' "
How do I do this in the datareport, I have tried typing in the SQL in the data environment, but I just get errors.
I take it you can't use "Date" in the dataenvironment SQL. It doesn't support " or ' either?
Thanks
"The Dude abides...."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|