• JGoh
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi
 
Got below error message when joining the tables using excel connector. Can anyone let me know how to fix this?
 
Thanks!
 
Error msg: Error generated by request: from Account where OwnerId in 'a:a'
 
Error @ Row :1:Column:1308
unexpected token:a:a
 
 
  • November 27, 2008
  • Like
  • 0
Hi--

Can someone explain to me why, when I use the IN join, I am getting an "Unexpected Token: Id" error?

It doesn't always happen, which makes it difficult to tell why it does.  Just now, I ran a query to pull a set of Contacts with the Account ID in column E.  Next, I wanted to pull some Account information for Accounts in the previous query.  A perfect time for "IN," right? 

But when I structured the query to find "Account ID IN E:E," I get an error message that says in full:

Salesforce: Query()
invalid Range, missing data type, or other error,
type is: Account

select id from Account where ID in 'E:E'
                             ^
Error at Row:1:Column:31
Unexpected token: Id


(And to make things more confusing for me, there is nothing in Column 31.)

Help?

Thanks,
Dan
  • October 24, 2006
  • Like
  • 1