RalphMorris
Technical User
I'm trying to cobble together a replacement database for a private school and need to establish a list of fees - Tuition, Piano(!) etc., which will change each year. They need to be picked up by a Pupils' Form (maybe using Check Boxes to identify which fees are relevant to that pupil) in order to calculate the total Invoice amount. I did it years ago in Approach & it took about 10 minutes. Ten days into Access & I seem to be getting further away from what must be an easy process - mustn't it??!!
I have been playing with the concept of:
Table 1: [Fees] Junior;Infant;Violin;Piano .....
Table 2: [Pupils] Name,Junior(Y/N);Infant(Y/N);Violin(Y/N);Piano(Y/N) ...
THEN IIf([Junior(Y/N)],Junior,0) and so on ...but I can't get a combination of anything which works. It seems to be because I haven't established a relationship - but I can't visualise one which will work and allow Pupils to be the super-ordinate Table (which I need to do for relationships, classes etc.)
And I think I've become fixated.
The answer's probably approached from a different direction - and now I can't see the wood for the trees !!
I have been playing with the concept of:
Table 1: [Fees] Junior;Infant;Violin;Piano .....
Table 2: [Pupils] Name,Junior(Y/N);Infant(Y/N);Violin(Y/N);Piano(Y/N) ...
THEN IIf([Junior(Y/N)],Junior,0) and so on ...but I can't get a combination of anything which works. It seems to be because I haven't established a relationship - but I can't visualise one which will work and allow Pupils to be the super-ordinate Table (which I need to do for relationships, classes etc.)
And I think I've become fixated.
The answer's probably approached from a different direction - and now I can't see the wood for the trees !!