Forum Discussion

Data_SystemAnal's avatar
Data_SystemAnal
Qrew Cadet
4 years ago
Solved

Generate unique email account base on fields

Hello all

I am trying to create a Formula- email edress USSEN THE VARIABLES BELOW

VARIABLE. 3 variable
  • first name
  • second name
  • Table ID record

Default domain=  gmail.com

MUCH APPRECIATE THE HELP

Edson Gonzalez-Chavez


------------------------------
Data (Administrator)
------------------------------
  • BlakeHarrison's avatar
    BlakeHarrison
    4 years ago
    Most likely, the problem lies in the data and there is a space at the end of the value in [Second Name]. To remove stray spaces, you can use the TRIM function like this:

    Trim([First Name]) & Trim([Second Name]) & [Record ID#] & "@gmail.com"

    This function will remove all leading and trailing spaces from any data in the field.

    ------------------------------
    Blake Harrison - DataBlender.io
    Quick Base Solution Provider
    ------------------------------

4 Replies

  • [First Name] & [Second Name] & [Record ID#] & "@gmail.com"

    Is this what you're looking for?

    ------------------------------
    Blake Harrison - DataBlender.io
    Quick Base Solution Provider
    ------------------------------
    • Data_SystemAnal's avatar
      Data_SystemAnal
      Qrew Cadet

      Thank you, that is why I have so far. however, for some reason, there is a space between the second name and record id#

      example:
      First NameSecond Name   [Record ID@gmail.com
      edsonponce  4567@gmail.com






      ------------------------------
      Data (Administrator)
      ------------------------------
      • BlakeHarrison's avatar
        BlakeHarrison
        Qrew Captain
        Most likely, the problem lies in the data and there is a space at the end of the value in [Second Name]. To remove stray spaces, you can use the TRIM function like this:

        Trim([First Name]) & Trim([Second Name]) & [Record ID#] & "@gmail.com"

        This function will remove all leading and trailing spaces from any data in the field.

        ------------------------------
        Blake Harrison - DataBlender.io
        Quick Base Solution Provider
        ------------------------------