Any and all suggestions would be appreciated. I am trying to combine information from two reports into one using Crystal Reports v6.0. Micros Systems Inc. wrote the reports in question for their Restaurant Enterprise Series 3700 Point of Sale software. My problem is that the record selection formula for each report is different and I have been unable to modify the formula to successfully select all of the necessary records for my combined report. Here are the details:
Record Selection Formula for time_004.rpt
{v_R_employee_job_code.business_date} in DTSToDate({@Start_Date}) to DTSToDate({@End_Date}) and
{v_R_employee_job_code.employee_number} in ToNumber({@Start_Employee}) to ToNumber({@End_Employee})
Time_004.rpt Formulas within Record Selection Formula
@Start_Date '1990/01/01'
@End_Date '2099/12/31'
@Start_Employee '1'
@End_Employee '99999999'
Record Selection Formula for emp_102.rpt
if {@Start_Shift} = '0' then
DTSToDate ({sp_R_cons_emp_ttls.start_business_date}) in
DTSToDate ({@Start_Date}) to DTSToDate ({@End_Date}) and
{sp_R_cons_emp_ttls.employee_number} in ToNumber({@Start_Employee}) to ToNumber({@End_Employee});
Emp_102.rpt Formulas within Record Selection Formula
@Start_Shift '0'
@Start_Date '1990/01/01'
@End_Date '2099/12/31'
@Start_Employee '1'
@End_Employee '99999999'
Thank you for your assistance.
Record Selection Formula for time_004.rpt
{v_R_employee_job_code.business_date} in DTSToDate({@Start_Date}) to DTSToDate({@End_Date}) and
{v_R_employee_job_code.employee_number} in ToNumber({@Start_Employee}) to ToNumber({@End_Employee})
Time_004.rpt Formulas within Record Selection Formula
@Start_Date '1990/01/01'
@End_Date '2099/12/31'
@Start_Employee '1'
@End_Employee '99999999'
Record Selection Formula for emp_102.rpt
if {@Start_Shift} = '0' then
DTSToDate ({sp_R_cons_emp_ttls.start_business_date}) in
DTSToDate ({@Start_Date}) to DTSToDate ({@End_Date}) and
{sp_R_cons_emp_ttls.employee_number} in ToNumber({@Start_Employee}) to ToNumber({@End_Employee});
Emp_102.rpt Formulas within Record Selection Formula
@Start_Shift '0'
@Start_Date '1990/01/01'
@End_Date '2099/12/31'
@Start_Employee '1'
@End_Employee '99999999'
Thank you for your assistance.