WarrenTheWindmill
Programmer
I have a parameter which prompts the user to input a date. I then want to use that date in the main SQL statement.
I am selecting records to populate a "customers" type main report which has a "transactions" sub report. I only want the Customer name to appear in the main report if he has transactions for the date in the parameter.
My SQL statement includes the following:
WHERE
EXISTS
(Select client_id from ledger where ledger.client_id = clients.client_id and ledger.trans_date =
I then want to insert the results of the parameter. I have tried using the parameter name but can't get anything to work.
Or am I going about this the wrong way? Any suggestions would be much appreciated.
Thanks
I am selecting records to populate a "customers" type main report which has a "transactions" sub report. I only want the Customer name to appear in the main report if he has transactions for the date in the parameter.
My SQL statement includes the following:
WHERE
EXISTS
(Select client_id from ledger where ledger.client_id = clients.client_id and ledger.trans_date =
I then want to insert the results of the parameter. I have tried using the parameter name but can't get anything to work.
Or am I going about this the wrong way? Any suggestions would be much appreciated.
Thanks