chadski021 Posted August 26, 2013 Posted August 26, 2013 i have this portal with 3 records with checkbox box on it and a droplist field for that portal what i want is to show only portal records with checkbox ticked for example if i have 3 records photos, documents and files. If it ticked photos and documents in dropdown list it should be photos and documents only
jbante Posted August 26, 2013 Posted August 26, 2013 Look into portal filters. You can search these forums and find several threads on how to configure them.
chadski021 Posted August 27, 2013 Author Posted August 27, 2013 Hello jbante im searching for the topic related to this but its difficult for me to understand without a sample file sorry im a filemaker newbie
Lee Smith Posted August 27, 2013 Posted August 27, 2013 Why not attach your file, and then we can see first hand what you are trying to do? Also, this will enable use to your naming conventions for the fields, TO, layouts, scripts, etc. p.s., if you need to see how to attach a file, follow the steps listed in this Site Instruction here: http://fmforums.com/forum/topic/88082-how-to-add-an-attachment-to-a-reply/
Fitch Posted August 27, 2013 Posted August 27, 2013 In layout mode, double-click the portal to bring up the portal options. Click the Filter portal records button. The calculation you use here will depend on the method you've used to flag your records. For example, if each child record has a text field with a single value such as "photos" and that value matches your drop-down values, the calc might look like this: not IsEmpty( FilterValues( yourDropListField ; yourChildFlagField ) )
chadski021 Posted September 4, 2013 Author Posted September 4, 2013 Hi this is my example file as you can see there a dropdown in the Type field what i want as you can see theres a checkbox at the portal list what i want is if the checkbox is ticked then it shows the Typefiles field in dropdown https://www.dropbox.com/s/us7bgcqts1sl1nn/Test.rar
bruceR Posted September 5, 2013 Posted September 5, 2013 Yes, Chadski should really upload the file correctly here. I went ahead and downloaded it. It had only the first relationship which pointed to ALL records. I added a second relationship that pointed to only the checked items. Then I added a filtered portal based on the all relationship. And a portal showing only the checked items. Then modified the value list to display only the items from the second relationship. TestMOD.fmp12.zip
chadski021 Posted September 5, 2013 Author Posted September 5, 2013 Hello Bruce is there a way to use only the ALL portal not the filtered and check portal
bruceR Posted September 5, 2013 Posted September 5, 2013 The portal does not control the value list. No portals are needed. It is the second relationship that controls the value list. The other portals were added just to show you how you can display the results. It was suggested by another responder (Jeremy) that you might want to use a filtered portal instead of a dropdown list. The filtered portal lets you see what that would look like.
Recommended Posts
This topic is 4097 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now