Ok, I’ve now got a better understanding of the problem.

Your addressbook object is hardcoded so that it supports “all standard fields” only. I would query the fact that the reference fields are not included as “standard” as they would be rather useful when writing scrips to report on address books.

Also do you have any example code for accessing the other fields, via the field name or Field ID.

Thanks again