Hi All,
I have asked much more detailed questions, but I am currently working on a lab based database system. I have lots of fields which will be used to store the values which is fine, however I need a way to be able to enter a calculation that would apply to a test, but be able to do it dynamically if that makes sense.
As there would be others using the system at the same time, I really really really want to be able to avoid having to recreate the database every time a new formula for a new test is created. It just doesen't really make it usable if I have to embed functions in a database.
The example I have is say I have a sample which has x amount of chemical on it, I then divide it by weight of sample measured, and by time tested for. Thats quite simple, but then there might be a modification to that formula to take into account something else, or instead of using weight it then accounts for Surface area, or a new test and I don't want to have to recreate it each time.
How do other people get around these problems without having to create new formulas in the tables etc and allowing the tables to have a formula entered in them (eg search for SampleID, and then look for ChemicalEmissions value and Divide it by SAMPLEID Weight, then by SampleID Time)
Thanks for all the help!
Regards,
Travis H.
I have asked much more detailed questions, but I am currently working on a lab based database system. I have lots of fields which will be used to store the values which is fine, however I need a way to be able to enter a calculation that would apply to a test, but be able to do it dynamically if that makes sense.
As there would be others using the system at the same time, I really really really want to be able to avoid having to recreate the database every time a new formula for a new test is created. It just doesen't really make it usable if I have to embed functions in a database.
The example I have is say I have a sample which has x amount of chemical on it, I then divide it by weight of sample measured, and by time tested for. Thats quite simple, but then there might be a modification to that formula to take into account something else, or instead of using weight it then accounts for Surface area, or a new test and I don't want to have to recreate it each time.
How do other people get around these problems without having to create new formulas in the tables etc and allowing the tables to have a formula entered in them (eg search for SampleID, and then look for ChemicalEmissions value and Divide it by SAMPLEID Weight, then by SampleID Time)
Thanks for all the help!
Regards,
Travis H.