Crystal Reports 9.0.
I am writing a month end summary report for accounts with activity during the month of February. My database is SQL ODBC. The base report includes an account ID with the account's physical information (address, contact, phone, etc). The month end summary figures have been calculated for me by our IT staff in a SQL Stored Procedure.
I need to pass each of the account IDs in my report to the Stored Procedure for it to produce the numbers for my report. I thought I might be able to store the ID as a shared variable and pass that to a sub-report with the stored procedure. My problem is, I don't know how to tell Crystal to use my variable for the stored procedure's parameter.
Or I could be going about this all wrong.
I am writing a month end summary report for accounts with activity during the month of February. My database is SQL ODBC. The base report includes an account ID with the account's physical information (address, contact, phone, etc). The month end summary figures have been calculated for me by our IT staff in a SQL Stored Procedure.
I need to pass each of the account IDs in my report to the Stored Procedure for it to produce the numbers for my report. I thought I might be able to store the ID as a shared variable and pass that to a sub-report with the stored procedure. My problem is, I don't know how to tell Crystal to use my variable for the stored procedure's parameter.
Or I could be going about this all wrong.