Ok, I have developed a sturcture that is highly efficient, very normalized and I can do nearly anything I need to with the structure. Except... I need to be able to find all of the transactions that have made it to a given step and then sum the time from the start to the identified step.
ContractsTbl
ContractNum (Key)
Description
Cost
Owner
XactionsTbl
XactionID
ContractNum (links to ContractTbl)
Step
StepStart
StepStop
StepNote
So this works very well for a given set of steps, theres another table called ContractSteps but for simplicity assume that Step.XactionTbl is represented by a digit 1 through 7. Our process requires that we account for recursion, and this structure works very well for that as well as keeping notes at each step. So the psuedo qry is:
Find all the contracts at step X and sum the time it took to get there.
Thanks in advance for any help