I am trying to build a db to report the deficiencies/strengths of security. We have about 1000 criterion that we base these on. I am trying to set it up to where we can specify which criteria they are deficient in, and it will report the total number of deficiencies that section has. i have tried to do this with a yes/no field, and code that looks a little like this:
in order to calculate the total number, but you can see how after even 20 feilds in one table this would get unweildy, let alone across several different tables, because of the 255 field limit that 'MS Access' has.
Is there anything that I am missing? How can I optimize my calculation and db to make it more functional and less error prone. I am used to debugging in c/c++, but SQL is kind of killing me with all of its rules.
Code:
Sum(([a1000]+[a1001]+[a1003]+[a1002]+[a1004]+[a1005])*-1)
Is there anything that I am missing? How can I optimize my calculation and db to make it more functional and less error prone. I am used to debugging in c/c++, but SQL is kind of killing me with all of its rules.
Comment