Jump to content
Sign in to follow this  
joana

Search & checkbox

Recommended Posts

Hi there! I have a huge problem that I hope that someone can help me with. 

I decided to make of my fields a checkbox with several options (different materials to be used in cleaning). Everytime I make a search where I only select ONE option in my check box (eg.soap) records where I did not mark soap on the fiel with the check box appear as well (because they contain the word soap somewhere else). I want only the records where I marked soap in that checkbox (even if it is not the only ingredient). It can not be a search using the omit option because sometimes I have more than one option marked in this check box.

Thank you!!

Share this post


Link to post
Share on other sites

I suggest you define a relationship and use the Go to Related Record[] script step in order to create the desired found set.

 

To do this by finding, you would have to define a calculation field =

¶ & YourCheckboxField & ¶

and then search this field for the literal text (in quotes) "¶Soap¶". This will be slower, since it will not use the field's index.

 

This is assuming you have another value that contains the word "Soap" as a separate word, e.g. "Soap Box" - not as part of another word, such as "Soapbox". The latter case is solved easily by searching for =Soap.

 

Edited by comment

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.