Jump to content
Salesforce and other SMB Solutions are coming soon. ×

"If field contains value X, then y"


daanvdn

Recommended Posts

Dear all,

 

I’m working with a database in which there are 3 fields, each of which may contain several values. For each field the list of values that may occur is unique, apart from one particular value, namely ‘unclear’. In concrete terms, this means the following:

 

Field 1 ( Position)

possible values: left, right, unclear, medial

 

Field 2 (Mood)

possible values: indicative, subjunctive, imperative, unclear

 

Field 3 (Tense)

possible values: present; preterite, unclear, perfect, pluperfect, future

 

In this database, I would like to create a (calculation) Field 4 (let’s call it ‘markedness’), which automatically generates a constant value X if Field 1, Field 2 or Field 3 contains the value ‘unclear’. In other words, I want X to appear in Field 4 if ‘unclear’ appears in any of the other fields. The problem is, that if Fields 1 to 3, contain more than one value, the order in which they occur, may vary. E.g. if Field 1 contains the values ‘left’ and ‘unclear’, the former need not have initial position in the record.

 

So I am wondering whether Filemaker Pro Advanced 8 has a function (or something else) which allows you to determine whether a record contains a particular value in a given field? I’ve tried the LeftValues / MiddleValues / RightValues functions, but the problem with these is that they require you to know the exact position of the value you’re looking for. And it’s precisely that which cannot be determined in advance.

 

If any of you might point me in the right direction, I would be very grateful,

 

Daan Van den Nest, Ghent University, Belgium

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use