What eagle eyes!
Great stuff, it works a treat.
Thanks very much for your time and help really appreciated.
Where can I find details of coding and code building. I am familiar with Access, but this is different again.
eg SUM(CAST(Field4 as INT))