Check the following topic:
Change the code in that topic with the code in this macro and that should do it.
Rachid
rachidb (BOB member since 2006-07-06)