Hi,
So far I've avoided using arrays but I really need to use one now.
- I have a load of history records (up to about 50) per client.
- Each history record has a date.
- There are loads of different histories but I am focusing on two types. For the purpose of explaining this I'll call them type "A" and type "B".
- I am grouping on client.
- I am using CR10.
What I need to do is put the date of type "A" in an array but only if the array doesn't already contain that date for a type "A" history. I need to do the same for type "B" histories but in a seperate array.
Then in the group footer I need to do a formula that checks that none of type B history dates have occured within 8 weeks of a type A history date. The result says "Yes" or "No".
I then need to reset the arrays to nothing, and do the same for the next client.
I can explain it ok, but I'm totally lost trying to implement it. Even putting the elements in the array I am struggling with.
So far I've avoided using arrays but I really need to use one now.
- I have a load of history records (up to about 50) per client.
- Each history record has a date.
- There are loads of different histories but I am focusing on two types. For the purpose of explaining this I'll call them type "A" and type "B".
- I am grouping on client.
- I am using CR10.
What I need to do is put the date of type "A" in an array but only if the array doesn't already contain that date for a type "A" history. I need to do the same for type "B" histories but in a seperate array.
Then in the group footer I need to do a formula that checks that none of type B history dates have occured within 8 weeks of a type A history date. The result says "Yes" or "No".
I then need to reset the arrays to nothing, and do the same for the next client.
I can explain it ok, but I'm totally lost trying to implement it. Even putting the elements in the array I am struggling with.