H
Henro
Hello all,
I have 2 situations which I do not know how to handle and I cannot find
any solution:
Problem 1:
I need to calculate the number of active memberships at any given moment.
Background on the data:
* Period = a month
* I know the amount of active memberships at start (users should be
preferably be able to correct this amount)
* From that moment I am told how many memberships in a period are
activated or closed (the date is in the record)
What happens:
I know e.g. that at 1 october I have 2000 active memberships. Then I
will get daily reports of how many memberships are activated and how
many are stopped. I want to know how many memberships are active at the
end of the month
Example:
three variables:
A= number of memberships at the beginning of the month
B= number of activated memberships
C= number of closed memberships
at 30st june I have 2000 (A) active memberships. In the month july 126
(B) are activated and 67 (C) have been stopped.
So 31st of july I have 2000 + 126 - 67 active memberships (totals 2059
memberships at 31 july).
Now I need to report two things about july:
2000 + 126 = 2126
2000 + 126 - 67 = 2059
And this is where it gets tricky for me:
at 31st july I have 2059 active memberships. In the month august 172 are
activated and 48 have been stopped.
So 31st of august I have 2059 + 172 - 48 active memberships (totals 2183
memberships at 31 august).
I need to report
2059 + 172 = 2231
2059 + 172 - 48 = 2183
As you will understand I have to start the next month with the value
2183, then add and substract the activated and closed memberships
I think this should be done with some loop functionality but I do not
have a clue as how to do this or how to start.
Problem 2:
I have a daily made report. In this report a value is calculated that
needs to be added to an account. I know the starting value of this account.
Example:
1st october amount of money in the account (X) is € 115.000
I make a report and in this report is calculated (Y) that € 10.000
should be added to the account. (X+Y) So next month I have to start with
€ 125.000.
I think that I should add Y to a table (with the date it was calculated)
and then I can easily calculate the new value I should use for X.....
How do I do this?
Any suggestions are very appreciated.!
TIA,
Henro
I have 2 situations which I do not know how to handle and I cannot find
any solution:
Problem 1:
I need to calculate the number of active memberships at any given moment.
Background on the data:
* Period = a month
* I know the amount of active memberships at start (users should be
preferably be able to correct this amount)
* From that moment I am told how many memberships in a period are
activated or closed (the date is in the record)
What happens:
I know e.g. that at 1 october I have 2000 active memberships. Then I
will get daily reports of how many memberships are activated and how
many are stopped. I want to know how many memberships are active at the
end of the month
Example:
three variables:
A= number of memberships at the beginning of the month
B= number of activated memberships
C= number of closed memberships
at 30st june I have 2000 (A) active memberships. In the month july 126
(B) are activated and 67 (C) have been stopped.
So 31st of july I have 2000 + 126 - 67 active memberships (totals 2059
memberships at 31 july).
Now I need to report two things about july:
2000 + 126 = 2126
2000 + 126 - 67 = 2059
And this is where it gets tricky for me:
at 31st july I have 2059 active memberships. In the month august 172 are
activated and 48 have been stopped.
So 31st of august I have 2059 + 172 - 48 active memberships (totals 2183
memberships at 31 august).
I need to report
2059 + 172 = 2231
2059 + 172 - 48 = 2183
As you will understand I have to start the next month with the value
2183, then add and substract the activated and closed memberships
I think this should be done with some loop functionality but I do not
have a clue as how to do this or how to start.
Problem 2:
I have a daily made report. In this report a value is calculated that
needs to be added to an account. I know the starting value of this account.
Example:
1st october amount of money in the account (X) is € 115.000
I make a report and in this report is calculated (Y) that € 10.000
should be added to the account. (X+Y) So next month I have to start with
€ 125.000.
I think that I should add Y to a table (with the date it was calculated)
and then I can easily calculate the new value I should use for X.....
How do I do this?
Any suggestions are very appreciated.!
TIA,
Henro