Based on your previous example code, the posted code would work and accomplish what you described. Please explain in detail what it is you are trying to accomplish and post your current code if you desire additional help. We are not mind readers.
_________________________
Home page: http://www.kixhelp.com/hb/