Hi Guy's,
I FINALLY got it to work.
The "After New User" trigger wasn't firing! Aaaarg?
Yes it's a rather brave statement, but, after hours of trying and testing I entered a very simple update statement to set the field with the value 8888, and got nothing.
After selecting "Click to Execute" in Global page of the Auto Actions, Kyle's update query worked. I then added as many triggers as possible that seemed related and one finally worked - namely "After Save User Registration".
Although it will work for most situations, could you please let me know of an alternative trigger for situation where I do not want to have the user as a Registered user.
BTW
Nick, thanks for the YouTube links. They helped to figure out a better solution for the Conditions.
Kyle, thanks for your help with the code. Like you I tried the query in phpmyadmin and the query did work. It's was the trigger that just never fired the code???
Also, after getting the Action to do what I wanted, I changed the trigger back to "Add New User" and it didn't work... Just needed to prove to myself that I didn't make a mistake earlier.
Cheers
Rob