Dear Matthew, > The right way to accomplish what you have in mind is the following: > > .... Many thanks for your help. I wrongly assumed that part of the conversion job was done by the compiler. My actual application now works fine. Bernard.