Hi - I've attached a dummy version of part of my database.
The idea is that I have several different types of logs (gas, convenience and bus) that I am entering into this database. Each type of card has it's own cost, and that cost can change over time.
I ultimately want to store FakeMRN, date of distribution, number of cards, and cost in the table tblGasBusConvCardLog.
For the control txtCardCostValue, I am using DLookup to find the card cost (based on distribution date and card type). The Cost should be number of cards * card cost. This updates some times, but not always. I can't seem to figure out why.
If I change the card type on an entry, the card cost updates. The Cost doesn't.
I think this may have something to do with the field being bound to the cost field. There are other changes I want to make to this form, but I will start with this question.
Thanks for any help!
Helena
The idea is that I have several different types of logs (gas, convenience and bus) that I am entering into this database. Each type of card has it's own cost, and that cost can change over time.
I ultimately want to store FakeMRN, date of distribution, number of cards, and cost in the table tblGasBusConvCardLog.
For the control txtCardCostValue, I am using DLookup to find the card cost (based on distribution date and card type). The Cost should be number of cards * card cost. This updates some times, but not always. I can't seem to figure out why.
If I change the card type on an entry, the card cost updates. The Cost doesn't.
I think this may have something to do with the field being bound to the cost field. There are other changes I want to make to this form, but I will start with this question.
Thanks for any help!
Helena