buzzboychicago
Programmer
- Sep 20, 2004
- 34
Okay Complicated Design Question...
Lets say a customer signs up for a tek support allowance.
They buy $600.00 worth of calls. Different Types of calls cost different amounts.
Category A costs 20
Category B costs 30
Category C costs 40
However...if they exceed their allowance each additional call costs more
Category A goes from 20 to 45
Category B goes from 30 to 50
Category C goes from 40 to 65
(kind of like your mintues plan for a cellphone)
I need to build a database/form to keep track of this.
I am open to ideas. However, the way I began was having the record for the customer and the amount they have purchased as the main record. The subform consists of the various calls/call types.
However. I need to treat this like a bank would treat transactions. I need to keep a running total and check the total before I assign the price to a line item. But I wouldn't know where to begin with each line item or how to tell access which item to subtract from the total first, second, third, and then how to assign the prices. etc.
Does anyone have any suggestions/and or downloadable databases with something similar set up in it? I would greatly appreciate any help and my brain is locked as to how to proceed.
Lets say a customer signs up for a tek support allowance.
They buy $600.00 worth of calls. Different Types of calls cost different amounts.
Category A costs 20
Category B costs 30
Category C costs 40
However...if they exceed their allowance each additional call costs more
Category A goes from 20 to 45
Category B goes from 30 to 50
Category C goes from 40 to 65
(kind of like your mintues plan for a cellphone)
I need to build a database/form to keep track of this.
I am open to ideas. However, the way I began was having the record for the customer and the amount they have purchased as the main record. The subform consists of the various calls/call types.
However. I need to treat this like a bank would treat transactions. I need to keep a running total and check the total before I assign the price to a line item. But I wouldn't know where to begin with each line item or how to tell access which item to subtract from the total first, second, third, and then how to assign the prices. etc.
Does anyone have any suggestions/and or downloadable databases with something similar set up in it? I would greatly appreciate any help and my brain is locked as to how to proceed.