Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Columns in SQL Designer

Status
Not open for further replies.

jsaint

IS-IT--Management
Nov 7, 2001
7
US
I am trying to use a .qry file created from an SQL statement as the datasource for a Crystal 8.5 report and then pass it a parameter to only select rows where a date field year is what is selected. When I create a .qry file from SQL Designer, it always converts my date fields to strings and then doesn't let me cdate them in CR back to do my year selection. Has anyone had this problem and come up with a solution?

(You can replicate the problem with the Xtreme Sample Database - just use SQL Designer and create a new qry on the Orders table selecting order.date. It saves the column as String 22, not datetime.)
Any help would be greatly appreciated.
thanks,
Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top