I'm developing a simple database for some relatives. I'm replacing a decade old MS Works database which is more or less a flat file with everything in one table with a different database for each of the main entities - an utter mess.
Anyway -
I've set up a prototype form for the front-end. There are two fields named Deposit and Balance. They are added together to give Total.
I've been reading that using a calculated field is generally a bad idea for reasons I understand. Therefore all the fields are set to number. I can see that I can set the Control Source for Total to be an expression which performs the same calculations as a calculated field would.
Is this good or bad practice? Is it safe to use instead of a calculated field?
It seems to work fine, the fields are added and appear in the Total field which is then stored as Number instead of a calculated field. But, I'm smart enough to developers (not that I should call myself one) should think long term.
Still to me, it's doing the exact same thing with the exact same result.
Am I doing this the right way?
-----------------------------
I currently use two lookup tables, one stores payment methods, the other stores food categories. I could also set the display control to a combo box and use the row source populate the box (via the wizard) instead of the lookup table.
Which is the better practice?
thanks chaps!
Anyway -
I've set up a prototype form for the front-end. There are two fields named Deposit and Balance. They are added together to give Total.
I've been reading that using a calculated field is generally a bad idea for reasons I understand. Therefore all the fields are set to number. I can see that I can set the Control Source for Total to be an expression which performs the same calculations as a calculated field would.
Is this good or bad practice? Is it safe to use instead of a calculated field?
It seems to work fine, the fields are added and appear in the Total field which is then stored as Number instead of a calculated field. But, I'm smart enough to developers (not that I should call myself one) should think long term.
Still to me, it's doing the exact same thing with the exact same result.
Am I doing this the right way?
-----------------------------
I currently use two lookup tables, one stores payment methods, the other stores food categories. I could also set the display control to a combo box and use the row source populate the box (via the wizard) instead of the lookup table.
Which is the better practice?
thanks chaps!