Topic: MSAccess Classification by Incidents |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-14-2008 17:12
Consider the following MS Access table: |
Paranoid (IV) Inmate From: |
posted 09-14-2008 18:10
How much of a simplification is this? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-14-2008 19:35
Think 300 employees and dozens of infractions per day. The data is already in Access and updated daily. The table presently has tens of thousands of records. While I can put them into Excel, what I need is that list of 'Employee 26 -> BAD', and I'll need it several times a month. |
Paranoid (IV) Inmate From: |
posted 09-14-2008 20:56
Because you have 13 categories as well as business rules, why not start writing the conditional statements in pseudo code with If then else - nesting them where appropriate. |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-16-2008 14:37
I think the code would look something like this: |