J
JB
I've made a table that contains:
PartNo, BalanceStart, Prognosis, Arrival, Departure, BalenceEnd
Everything but PartNo is 'repeatded' 24 times.
From PresentYear January to NextYearDecemer
eg. BalanceStartPY01...BalanceStartNY12
....
BalanceEndPY01...BalanceEndNY12
I've made a code that updates for every PartNo,
Arrival, Departure and Prognosis
This is already done.
Now Im about to calculate and update every BalenceStart & BalenceEnd.
That formula is pretty simple,
BalenceStart(i)=BalenceEnd(i-1) 'Just to get a startvalue for each
period.
BalenceEnd(i)=BalenceStart(i)-Prognosis(i)-Arrival(i)+Departure(i)
The question for me is, shoud I slpit this table in to 5 tables, each
containing PartNo and 24 fields of the same type?
(PartNo, Arrival(PY01 to NY12)
I dont want to do it, because the fields sort of 'depend' on each
other.
In Excel, I would not have wasted any time by thinking of splitting,
just worked with one 'wide' table.
I've heard people talking abot that their db got many users, and then
they say it's 10 of them. I quess Ive got the same problem now;
how much is many?
In this case, is 121 fileds many? I dont think its many for a db, but
perhaps it too many to mankind to keep track of.
When developing this table, its on an Access db, when this is done,
it will be on a SQLserver.
PartNo, BalanceStart, Prognosis, Arrival, Departure, BalenceEnd
Everything but PartNo is 'repeatded' 24 times.
From PresentYear January to NextYearDecemer
eg. BalanceStartPY01...BalanceStartNY12
....
BalanceEndPY01...BalanceEndNY12
I've made a code that updates for every PartNo,
Arrival, Departure and Prognosis
This is already done.
Now Im about to calculate and update every BalenceStart & BalenceEnd.
That formula is pretty simple,
BalenceStart(i)=BalenceEnd(i-1) 'Just to get a startvalue for each
period.
BalenceEnd(i)=BalenceStart(i)-Prognosis(i)-Arrival(i)+Departure(i)
The question for me is, shoud I slpit this table in to 5 tables, each
containing PartNo and 24 fields of the same type?
(PartNo, Arrival(PY01 to NY12)
I dont want to do it, because the fields sort of 'depend' on each
other.
In Excel, I would not have wasted any time by thinking of splitting,
just worked with one 'wide' table.
I've heard people talking abot that their db got many users, and then
they say it's 10 of them. I quess Ive got the same problem now;
how much is many?
In this case, is 121 fileds many? I dont think its many for a db, but
perhaps it too many to mankind to keep track of.
When developing this table, its on an Access db, when this is done,
it will be on a SQLserver.