Thanks a lot. I checked the file you provided in your former post and it is working perfectly. Thanks for the help. That was exactly what I needed.Glad to be of help.
I am working on some other code to store the theme that was originally used in a database so that it can be replaced if a user picks a theme and then decides is not sensible and want to return to the original after a compact and repair.
I will post that tomorrow or Wednesday.
By the way what does this (
WHERE 1 = 0
) where condition do. I failed to understand it.