>Naomi - thank you very much!
>
>IIF() would be such a simplier implementation, SQL has already copied so much of VFP syntax anyway... nonetheless, much thanks.
>
>Kind regards,
>Derek
I believe it's the other way around :) VFP copied some of SQL from MS SQL. VFP9 at least.
If it's not broken, fix it until it is.
My Blog