Look at reply #4.
Another option is for you to post your complete code, then we can help you refactor it.
Look at reply #4.
Another option is for you to post your complete code, then we can help you refactor it.
That's not repetitive code. If you actually have repetitive code we can help you refactor it.