• Keith,

    Thanks for your response and suggestion (duly noted).

    Your solution has given me the idea. I need to tinker with a little bit - add a new table with Resetfrequency values and a column with corresponding hierarchy value - and then take the Resetfrequency value of the max(hierarchy value). A lookup table will take care of that.

    Thanks again.

    Amit