Jimmy,
Thx so much, worked like a charm!
Only one small annoyance, I could not cut and paste and I actually had to use insert Function in InfoPath for each one,
which I find a bit strange. Microsoft could improve the Function editor to be more friendly.
PAW