Brendon Skinner Posted October 22, 2001 Posted October 22, 2001 Hi everyone, I was wondering if someone may be able to help me with a small problem. I have a three line self-relational portal and have dropped a button in the portal to open a pdf file relevant to the portal record on that line. The button works perfectly. However despite only putting in one button on the top line of the portal, with the expectation that the button will only be duplicated in the line below when there are more than one related records, Filemaker is by default revealing a button on the portal row below, even thought there is no document in that line. Any ideas? Your help is appreciated. Thanks
Kurt Knippel Posted October 22, 2001 Posted October 22, 2001 You have the relationship set to "allow creation of related records". This will cause Filemaker to put a blank line at the bottom of the portal. You have two options here. One is to uncheck that option in the define relationship screen, or you can put the button into a container field in the actual record and thus it will only show when there is actually a record present. You will also have to make sure that you scripts tests for a valid record. This is more complicated, but still gives you the power of the portal allowing the creation of new records.
BobWeaver Posted October 22, 2001 Posted October 22, 2001 In Define relationships, un-check the "Allow creation of related records" option.
Brendon Skinner Posted October 22, 2001 Author Posted October 22, 2001 You guys rock!!! And to those who rock...I salute you . That was pretty lame but you do have my absolute thanks. Have a great week guys.
Recommended Posts
This topic is 8435 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