zebasdad
asked on
Merge two tables in select query, vfp, oledb
How do I combine two tables into one query? the tables are exact... so it's not a parent/child situation... the tables are current/archived data... when the user selects a date which falls into the archived data range... I would like to pull that data, in addition to any data n the current file which may also fall into the users selected date rage. I'm using a VFP-OLEDB connection in asp.net page... (vb)...
I'm trying to populate a grid... then a crystal report... if the user desires to print.
Something like select * from table1, table2 where dateshipped => etc...
I'm trying to populate a grid... then a crystal report... if the user desires to print.
Something like select * from table1, table2 where dateshipped => etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Select shipdate, date_in, orderno from orders where shipdate => bDate and shipdate =< eDate UNION select shipdate, date_in, orderno from aorders where shipdate => bDate and shipdate =< eDate