Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want that user provide "From date" and "To Date". Then I want to show every date of "Friday" in crystal Report. Suppose a uer provive a date range between
01.04.2013 and 30.04.2013. I want to show every date for Friday. How can I do this. Please help me.
I also want if user wish to see only date for ever quarter date from a date range that is provided by user.
Posted
Updated 18-Apr-13 1:31am
v2
Comments
Dnyaneshwar Kondbale 18-Apr-13 7:03am    
If you retrieving the data from SQL server 2008 ,
Then try below.

select * from TableName where datename(dw,DateColumn)='Friday'
Sumon562 18-Apr-13 7:29am    
I have tried but it doesn't work
Dnyaneshwar Kondbale 18-Apr-13 7:31am    
Can you please provide the sample data and structure of the table.
Sumon562 18-Apr-13 7:33am    
Yes but it does,t work
Dnyaneshwar Kondbale 18-Apr-13 7:37am    
Please provide Sample data and more information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900