Oh joy - thanks Pete #8.
I hadn’t spotted there were 3 pages worth of stuff under the ’Topic’ dropdown! Thanks for sorting me out.
Re Bob’s point on extended fields; they’re sort of interesting but I’m not keen on using them because
a) you have to enter the name:value pairs. This is ok for me but when the client takes over they’d find it a lot easier if they could be prompted with the name and just enter the value
b) I like to know that if the client wants a report or export I’m capable of getting it direct from the database. I came up with this SQL to get the value from ONE extended field
SELECT LEFT(SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(extended, ':', 3), ':', -1),2), CHAR_LENGTH(SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(extended, ':', 3), ':', -1),2)) - 2) AS company
FROM modx_user_attributes
and that’s before any JOINS etc. so the following seems a lot less painfull
SELECT fax AS company FROM modx_user_attributes