Skip to main content
Question

Convert Email Lookup Key to Text

  • May 13, 2025
  • 0 replies
  • 203 views

Forum|alt.badge.img+6

I feel like I'm going insane this should be extremely easy. I'm trying to make a formula email field that simply gets populated with 1 email field (primary contact) if that's in fact filled out. Otherwise, populate with the referring attorney email field value. Both are lookups from two different tables. The email field for the referring attorney lookup is the key field for that table.

For some reason QB is expecting a textlist, not text. I've tried all sorts of type conversions, as well as part/split functions (since Split is what comes up under Textlist Functions, though the email field would never have more than a single value in the first place). I know this is going to be ridiculously simple in the end. 

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • May 13, 2025

Your Field type should be formula email.

Can you post your formula.  It should be 

iF([primary contact email] <>"", [primary contact email], [Referring attorney email])

 


Forum|alt.badge.img+6
  • Author
  • Quickbase Alumni
  • May 13, 2025

yeah I've tried converting both and either field toText while leaving the other as is. It always comes back to that same issue of expecting a textlist, despite the email field not being a combined text or anything like that. Its just a normal email field

if(toText([Primary Matter Contact - Email]) <> "", [Primary Matter Contact - Email], toText([Referring Troutman Attorney (ref) - Email Text]))