Thnaks for the info Frank. I hadn't considered dynamically creating the layers, but that sounds promising. Can you give me an idea of a number we might be able to increase MS_MAXLAYERS to that would not be too much of a drain on the system?