Crystal Reports 8.5 Access 2002
I have a Page in my report which displays a graph based on an Asthma Practice, the practice is chosen on a parameter called PracticeID. I would like to display the number of patients within THAT practice below the graph, how can I select that practice's number of patients from the table below, which is called Patients.
NumberOfPatients PracticeID
14 {404C9DA1-BAEF-11D4-9906-00001B3B43AB}
7 {4BA910E0-B4AD-11D4-A667-0010B5094D73}
5 {6AB78C40-C6D3-11D4-BF34-00B0D0183724}
7 {73180D01-C6C5-11D4-8D01-00500449A592}
8 {8537EF2D-9060-11D4-B0BB-00104BAFEAB4}
10 {9C3C1540-CABD-11D4-A0E2-0000E8D66B1D}
3 {C91195F0-D0E7-11D4-9BB3-000102DDFD08}
14 {DE21C8A0-B4C5-11D4-A184-00D0B7AFC0CF}
4 {F0C91195-11D4-D0E7-9BB3-02DD0001FD08}
12 BRAD01
11 BRAD02
I have tried formula's such as: if({Patients.PracticeID}like{?PracticeID}) then NumberOfPatients. this did not work, I have tried, using for loops, but found out that you cannot use for loops in crystal to travers through a list (which I think is ubelievable!). Can anyone guide/help me thanks alot. Derek
I have a Page in my report which displays a graph based on an Asthma Practice, the practice is chosen on a parameter called PracticeID. I would like to display the number of patients within THAT practice below the graph, how can I select that practice's number of patients from the table below, which is called Patients.
NumberOfPatients PracticeID
14 {404C9DA1-BAEF-11D4-9906-00001B3B43AB}
7 {4BA910E0-B4AD-11D4-A667-0010B5094D73}
5 {6AB78C40-C6D3-11D4-BF34-00B0D0183724}
7 {73180D01-C6C5-11D4-8D01-00500449A592}
8 {8537EF2D-9060-11D4-B0BB-00104BAFEAB4}
10 {9C3C1540-CABD-11D4-A0E2-0000E8D66B1D}
3 {C91195F0-D0E7-11D4-9BB3-000102DDFD08}
14 {DE21C8A0-B4C5-11D4-A184-00D0B7AFC0CF}
4 {F0C91195-11D4-D0E7-9BB3-02DD0001FD08}
12 BRAD01
11 BRAD02
I have tried formula's such as: if({Patients.PracticeID}like{?PracticeID}) then NumberOfPatients. this did not work, I have tried, using for loops, but found out that you cannot use for loops in crystal to travers through a list (which I think is ubelievable!). Can anyone guide/help me thanks alot. Derek