Skip to main content
CRMGoldMine CRM

GoldMine Expression Fields

By September 24, 2019No Comments

GoldMine Expression fields are used to display text only.  The information displayed can be free form text or a dbase formula.  Users cannot enter or change any data in these fields and you are limited to 15 characters like field labels are.

Expression fields can be used as a field label, a question to be answered by the user, a field value, and a combination of them all.

For example, to create a title on a screen do the following:

  1. Right-click on the screen to add the expression field and choose Screen Design. The Designer toolbar displays.
  2. Click New on the Designer toolbar.
  3. Select –dBASE Expression– from the list of fields (it is located at the top of the list).

  1. Click OK to place the field on the screen.
  2. Double- click on the new field to display the Fields Properties dialog box.
  3. Click on the More Options button to display the Advanced Options dialog box.

  1. The field label cannot be blank so enter a “|” or other character to satisfy this requirement in the Global Lable or Expression fields. You can add a matching character at the end of your formula to help the appearance.
  2. For this example we will combine the title of the screen with Contact and Company information using a dBASE formula.
    1. “Personal Screen for “ – the text string including the next space enclosed in quotes.
    2. Trim(Contact) – the field name for the contact name and trimming any blank spaces
    3. iif(empty(Company), “|”,” of “ + trim(Company) + “|”) – if the Company field is not blank, this will add the text string “ of ” enclosed in quotes and including the needed spaces.
  3. Copy the following formula in the Field Data box (you may have to retype the quotes marks due to formatting):

“Personal Screen for ” + trim(Contact) + iif(empty(Company),”|”,” of ” + trim(Company) + “|”)

  1. Set any other properties such and label and field lengths and click OK to save. The new expression will display on the screen.

Using the example above you can create Expressions fields to display values based on an if statement, any contact or contact2 fields or just plain text.

Becci MG

Author Becci MG

More posts by Becci MG

Leave a Reply

Skip to content