Jump to content
Sign in to follow this  
jbruett

searching question

Recommended Posts

Hey all...I am so not used to the search/report functionality of FM. Could someone explain to me the following script setup.

i have a table of records that I am trying to get where one field is equal to only a few string values and another field is only equal to a few values. the best i can do is give a sql based version of what this script will look like...

SELECT *

FROM FEE

WHERE (Stage = "value1" or Stage = "value2")

AND (Status = "value3" or Status = "value4")

I hope that helps to define it a bit.

YEAH I LOVE FILEMAKER AND THE SCRIPTING!!!

Extend Found Set...why not just allow the entering of multiple criteria on the same field in the initial find.

Edited by Guest

Share this post


Link to post
Share on other sites

Depending on the data set you're working with, you might do it like this, starting from a layout based on a FEE table occurrence:

Find request 1: Stage = "value1", Status = "value3"

Find request 2: Stage = "value1", Status = "value4"

Find request 3: Stage = "value2", Status = "value3"

Find request 4: Stage = "value2", Status = "value4"

or like this (assumes you only have 4 "Status" values, so omits the first 2)???

Find request 1: Stage = "value1"

Find request 2: Stage = "value2"

Find request 3: Status = "value1" OMIT

Find request 4: Status = "value2" OMIT

This isn't code, it's just a way of describing the Find requests, which you can do manually or script. See:

http://www.filemaker.com/help/03-Finding%20sorting10.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.