The formula is...
Select Buyer, Purc_Order_ID, Line_No, Part_ID, Purc_Order_Line.Desired_Recv_Date, Purc_Order_Line.Last_Received_Date, Order_Qty, Total_Received_Qty
From Purchase_Order, Purc_Order_Line
Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 and Purc_Order_Line.Desired_Recv_Date < 1/1/2003
Order By Buyer, Purc_Order_ID, Line_No
I am getting an Inconsistent Datatypes Error in my formula Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 and Purc_Order_Line.Desired_Recv_Date < 1/1/2003.
The datatype for Purc_Order_Line.Desired_Recv_Date is datetime so I added the time into the formula...
Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 12:00:00AM and Purc_Order_Line.Desired_Recv_Date < 1/1/2003 12:00:00AM.
When I add the time I get Bind Variable "00" Not Declared.
Can anyone help with the date range?
Thanks,
Hillary
Select Buyer, Purc_Order_ID, Line_No, Part_ID, Purc_Order_Line.Desired_Recv_Date, Purc_Order_Line.Last_Received_Date, Order_Qty, Total_Received_Qty
From Purchase_Order, Purc_Order_Line
Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 and Purc_Order_Line.Desired_Recv_Date < 1/1/2003
Order By Buyer, Purc_Order_ID, Line_No
I am getting an Inconsistent Datatypes Error in my formula Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 and Purc_Order_Line.Desired_Recv_Date < 1/1/2003.
The datatype for Purc_Order_Line.Desired_Recv_Date is datetime so I added the time into the formula...
Where Purc_Order_Line.Desired_Recv_Date > 12/20/2002 12:00:00AM and Purc_Order_Line.Desired_Recv_Date < 1/1/2003 12:00:00AM.
When I add the time I get Bind Variable "00" Not Declared.
Can anyone help with the date range?
Thanks,
Hillary