Solved

How do I filter Null on Filemaker Pro WebPublishing?

Posted on 2010-09-21
6
751 Views
Last Modified: 2012-05-10
I have a drop down list. The list has 4 options and a blank one. I want to have the user have the ability to filter on the NULL or Blank field, and show results for all items unassigned or unanswered.

These are to be done on the Web Interface..

Is this possible to do a Null Search on a Drop Down? I know it can be done on aother fields.

Thanks

Chip
0
Comment
Question by:OSXFreak
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:ErikCayre
ID: 33732761
The dropdown is just a UI widget added in the layout definition, meaning the underlying field can be treated the same, as if it did not have a dropdown attached.

Doing a search for "==" will return all records where the field is empty (equivalent to NULL, which doesn't exist per se in FMP).

I hope I got your question right...
0
 

Author Comment

by:OSXFreak
ID: 33733776
OK Thanks for that.. I'll go with the fact it can not be done.. So Right now, the default for that drop down is blank.
Is there a way to have the default be a specified option in the list like "None"?

I'd like to have ALL the fields start out as None so they can sort on that option.

Thanks

Chip
0
 
LVL 2

Expert Comment

by:ErikCayre
ID: 33735221
Ok, I'm confused now.

You asked if it is possible to search for NULL in a dropdown, and you said you need this "on the Web-interface".

Are you referring to IWP (Instant Web Publishing)?

You can set any default in a field (eg. using auto-enter in the field options).
The dropdown contents are defined from a value list. It's appearance (default) depends.
If the underlying field contains a value matching a value in the value list used for the dropdown, it will be selected.
If not, the dropdown will show blank, until clicked.

If you need the field to possibly be empty, you can add a blank line in the value list definition. When the user select that option, it will result in the field being empty (˜NULL).

You also refer to sorting. Can you expand on that?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:OSXFreak
ID: 33735506
Ok sorry for confusion. Yes I was referring to IWP :)

In the Drop Down List, I have the options of:

Loaded in web
Moved to company
Review
Not Done Yet

I want the DEFAULT for this Drop Down to initially show Not Done Yet.

So that way they can filter on that field and get the info they need since we can not filter on Null in the drop downs.
They will then manually change the status to one of the other 3 options.

I looked for the Field options but did not see it I do get a pop up box( Inspector) that is where I assign list info, and make it a drop down, I also see an option for auto complete using value list but no way to specify anything. so I thnk I'm in wrong are :(

any ideas?

Chip

0
 
LVL 28

Expert Comment

by:lesouef
ID: 33738625
file/manage/value lists
use '=' for null, rhat will show records where this field is empty. note = can be put in your value list
and use '' to see everything
0
 
LVL 2

Accepted Solution

by:
ErikCayre earned 500 total points
ID: 33739627
You are asking that the default is showing "Not done yet". Assuming the is a search form, you can get the user to navigate to the layout with this form using a script. This script will contain

.
.
.
Enter Find Mode
SetField (DropdownFiedlName; "Not done yet")
.
.
Pause/Resume
.
.
.

When the user is done setting search parameters, she clicks a button which just does a continue in the Script.

About specifying the dropdown property of the field:
As lesouef wrote:
-Go to File->Manage->Value Lists
-make a new value list with custom values
-enter the values you mentioned, one on each line
-go to layout mode on the layout where you need the dropdown to appear
in Inspector->Data->Field:
-select Control style: Drop-down list
-select Values from: [your newly defined value list]

Now this layout will always show a Drop-down list when the user enters the field.

Please note that a Drop-down list is an input aid which dows NOT prevent the user from entering a value which is not already in the attached value list. If you wish to lock the user into only options you have predefined, use Control style: Pop-up menu instead.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Custom Serial Numbers in Filemaker Report Layout 9 307
Filemaker Pro 14 - Summary Fields 2 57
filemaker server admin console and bonjour 9 335
filemaker security 1 401
Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now