L
larochy
Hi,
Wondering if someone can provide some guidance. I have a database that
tracks customer purchases of consulting hours and the usage of those hours by
the Customer. A customer can have multiple purchases for blocks of time. In
any given month they use their consulting hours and they are expired at
different rates depending on who they utilized (Consultant = $200/hr, Project
Manager = $225/hr, etc.). My problem is I’ve never used a recordset before
and when recognizing the hours, I’m trying to use a FIFO method in which the
hours they use are recognized against the oldest hours that they’ve purchased
which is determined by the Purchase Date. Is there some psuedo code or an
example of what the code would look like so I could go line by line
recognizing the hours and have the balance updated after each line is
recognized? I know this is a little vague but I’m just looking for a basic
outline of what the code would look like.
Thanks
Wondering if someone can provide some guidance. I have a database that
tracks customer purchases of consulting hours and the usage of those hours by
the Customer. A customer can have multiple purchases for blocks of time. In
any given month they use their consulting hours and they are expired at
different rates depending on who they utilized (Consultant = $200/hr, Project
Manager = $225/hr, etc.). My problem is I’ve never used a recordset before
and when recognizing the hours, I’m trying to use a FIFO method in which the
hours they use are recognized against the oldest hours that they’ve purchased
which is determined by the Purchase Date. Is there some psuedo code or an
example of what the code would look like so I could go line by line
recognizing the hours and have the balance updated after each line is
recognized? I know this is a little vague but I’m just looking for a basic
outline of what the code would look like.
Thanks