> I am just wondering if it was done or there is an easy way.. As suggested by Kurt, given a subsequent index from idx = 1 ... N, you may use color = idx%2 to compute your color.
To work around the problem of insert/delete, I'd try to employ a trigger on these events to renumber the index (idx) first and then recompute the colors. Cheers Daniel -- Dipl.-Math. (FH) Daniel Franke Institut fuer Medizinische Biometrie und Statistik Medizinische Universität zu Luebeck Ratzeburger Allee 160, Haus 4 23538 Luebeck Telefon: 0451-500-2786 Telefax: 0451-500-2999 [EMAIL PROTECTED]