Topic by David Eggleston
Content
This really should be easy, I want the first email address for a contact. According to the instructions I should be able to get it by the following: SELECT contact.name.last, Contact.Emails[0].ADDRESS FROM CONTACT where contact.name.last = 'CHANEY'. This errors and says that "Selected column is not an object: Level0. I then read about the EmailLists. So I gave it a try: SELECT contact.name.last, Contact.EmailLists[0].Emails.ADDRESS FROM CONTACT where contact.name.last = 'CHANEY'. This time it said EmailLists is not valid column. Any Ideas, I want it in a ROQL to keep the code simple. Thanks in Advance, David