I am using Crystal Reports in Visual Studio .NET. I have created a report which reports off of a stored procedure. I was able to do the report just fine when the stored procedure had one SELECT statement. The thing is, there are two tables which contain the same field names (I understand how to set up an alias so the column headings are good): one is an archive table, one is current. For this report, I have to look at all the data in both tables, pulling data which matches my criteria (InDateTime >= @BeginDate and InDateTime <= @EndDate. I did a UNION and now when I run the stored procedure, it's as if Crystal Reports doesn't recognize the UNION - it reports the data from the first SELECT. Does anyone know if you can report off of a stored procedure which contains a UNION?
Thanks in advance,
tammiew
Thanks in advance,
tammiew