Hello,
I have a problem trying to create a membership report. Here is an example of my data:
ID Program Status Expiration_Date
1 W1 A 5/31/06
1 W1 E 5/31/05
2 W1 E 5/04/05
3 W2 E 5/01/05
4 W2 A 5/23/05
My requirements are to only return the members who expire in the current month (May 05) and have NOT renewed. The renewal creates a new record with a future effective date and changes the status of the current record from "E" (expired) to "A" (active).
My expected results would then be:
ID Program Status Expiration_Date
2 W1 E 5/31/05
3 W2 E 5/01/05
4 W2 A 5/23/05
I can get the Max date calculation working fine.
Here are my two questions:
1) How do I create a prompt using the calculation? I want the users to be able to select the range of dates, but only after all max dates have been selected. When I go to create a date prompt, it only allows me to choose from my model and NOT my query (where max calculation is).
2) It seems like this needs to be either multiple queries, joins, or parent child. Can anyone recommend which method would be best in the case?
I'm new to programming and ReportNet. I understand the general concepts behind multiple queries, parent child, etc. I'm struggling in determining which method should be used when.
Thanks in advance.
Jeff
I have a problem trying to create a membership report. Here is an example of my data:
ID Program Status Expiration_Date
1 W1 A 5/31/06
1 W1 E 5/31/05
2 W1 E 5/04/05
3 W2 E 5/01/05
4 W2 A 5/23/05
My requirements are to only return the members who expire in the current month (May 05) and have NOT renewed. The renewal creates a new record with a future effective date and changes the status of the current record from "E" (expired) to "A" (active).
My expected results would then be:
ID Program Status Expiration_Date
2 W1 E 5/31/05
3 W2 E 5/01/05
4 W2 A 5/23/05
I can get the Max date calculation working fine.
Here are my two questions:
1) How do I create a prompt using the calculation? I want the users to be able to select the range of dates, but only after all max dates have been selected. When I go to create a date prompt, it only allows me to choose from my model and NOT my query (where max calculation is).
2) It seems like this needs to be either multiple queries, joins, or parent child. Can anyone recommend which method would be best in the case?
I'm new to programming and ReportNet. I understand the general concepts behind multiple queries, parent child, etc. I'm struggling in determining which method should be used when.
Thanks in advance.
Jeff