getting an error message trying to get some logic correct in pervasive.sql data manager so I can use the code in crystal reports 8.5.
in essence I'm trying to obtain similar information from 2 tables - a header and a history table - so I can consolidate the information and use it in a report
i.e.
select part pn, purchase_order po from "v_po_history"
union
select part pn, purchase_order po from "v_po_header"
I've also tried union all and am not sure where to go next. the error message I receive no matter what I try is as follows:
odbc error: sqlstate = s0002 native error code = 0
the column prefix 'view2tab1' does not match with a table name or alias name used in the query
error in expression view2tab1.record_no
anyone have any ideas what's wrong??
in essence I'm trying to obtain similar information from 2 tables - a header and a history table - so I can consolidate the information and use it in a report
i.e.
select part pn, purchase_order po from "v_po_history"
union
select part pn, purchase_order po from "v_po_header"
I've also tried union all and am not sure where to go next. the error message I receive no matter what I try is as follows:
odbc error: sqlstate = s0002 native error code = 0
the column prefix 'view2tab1' does not match with a table name or alias name used in the query
error in expression view2tab1.record_no
anyone have any ideas what's wrong??