version: Crystal Reports 9.0
I'm trying to add an SQL query with parameters int eh add command window and I keep getting the message:
Failed to open a rowset.
Details: HY000:[Oracle][ODBC][Ora]ORA-00905: missing keyword.
Below is my SQL statement:
Select
h.whse_ind, h.instance_ind, h.ord_no, h.cust_no, h.cust_name, h.dest_id, h.wght, h.delivery, r.division, r.prod_fam, r.product_line, r.product_type, SUM(r.wght), SUM(r.act_qty)
From
v_rh_ordhead h, v_rh_orddetl r
where
h.last_ship_date between '{?startdate}' and '{?enddate}'
and h.rh_ord_cntrl_no = r.rh_ord_cntrl_no
group by
h.whse_ind, h.instance_ind, h.ord_no, h.cust_no, h.cust_name, h.dest_id, h.wght, h.delivery, r.division, r.prod_fam, r.product_line, r.product_type
I'm trying to add an SQL query with parameters int eh add command window and I keep getting the message:
Failed to open a rowset.
Details: HY000:[Oracle][ODBC][Ora]ORA-00905: missing keyword.
Below is my SQL statement:
Select
h.whse_ind, h.instance_ind, h.ord_no, h.cust_no, h.cust_name, h.dest_id, h.wght, h.delivery, r.division, r.prod_fam, r.product_line, r.product_type, SUM(r.wght), SUM(r.act_qty)
From
v_rh_ordhead h, v_rh_orddetl r
where
h.last_ship_date between '{?startdate}' and '{?enddate}'
and h.rh_ord_cntrl_no = r.rh_ord_cntrl_no
group by
h.whse_ind, h.instance_ind, h.ord_no, h.cust_no, h.cust_name, h.dest_id, h.wght, h.delivery, r.division, r.prod_fam, r.product_line, r.product_type