Stewart Bisset:Hmm, interesting problem!I don't know what kind of access you have with the code; or whether SQL allows string manipulation, but is it possible to remove the leading junk and keep only the field name?Ie. for CnsBioCont_MOBILE_PHONE, you would remove the leading characters; change MobilePhone to CamelCase, and keep anything after the last underscoreCnsBioCont_MobilePhoneThen you could match fields on MobilePhone and ignore the preceding? This is how I clean the headers in my export definitions when I export them from the system