October 22, 200124 yr 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
October 22, 200124 yr 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.
October 22, 200124 yr In Define relationships, un-check the "Allow creation of related records" option.
October 22, 200124 yr Author 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.
Create an account or sign in to comment