Doh ( slaps forehead) when I first tried to compile it I had some unreferenced assembly errors so I must have inadvertently ctrl-dot clicked on the red squiggly and created a class for Type Func ( which I found in my project ) which obviously conflicted with the one I should have been referencing , it must be Friday thanks to you both
Regards,
Peter J. Kane
Pete