N
Novice2000
Hello,
I have created a report that has a sub-report in the middle. I have it
arranged so that you have to enter a client number to pull back informtion
for just that client. The top of the report populates correctly, but the
sub-form is bringing back data for all clients.
How can I get the sub-report to pull back data for just the client number
entered for the main report?
Here is the code for the main report:
SELECT client_projection.pol_yr, client_projection.policy,
client_projection.payments_4yr, client_projection.rate, client_projection.py,
client2.Client_Name, client2.loc FROM client2 INNER JOIN client_projection ON
client2.loc=client_projection.policy WHERE client2.loc=[Enter Client
Number:];
I have created a report that has a sub-report in the middle. I have it
arranged so that you have to enter a client number to pull back informtion
for just that client. The top of the report populates correctly, but the
sub-form is bringing back data for all clients.
How can I get the sub-report to pull back data for just the client number
entered for the main report?
Here is the code for the main report:
SELECT client_projection.pol_yr, client_projection.policy,
client_projection.payments_4yr, client_projection.rate, client_projection.py,
client2.Client_Name, client2.loc FROM client2 INNER JOIN client_projection ON
client2.loc=client_projection.policy WHERE client2.loc=[Enter Client
Number:];