ZippyT Posted June 23, 2016 Posted June 23, 2016 (edited) I am pseudo-new to Filemaker. Currently I have a related FK field appearing on a related layout (Contacts::Contact_ID on the Task Details layout. I would like to be able to add a new task that is related to a specific contact. I particularly like the idea of having a popover window showing a list of contacts, selecting a name, and replacing the contents of Tasks::Contact_FKID with this name. The idea for this solution comes from the Invoices solution/template that ships with FMP15 Advanced (Customer Popover). I have gotten to the point where the list of All Contacts/popover appears but I can't seem to click on the name and have it added to the field in a new record on the Tasks Details layout. Essentially I just want to create a related record on another layout from the Contact Details layout. Any help is appreciated. Thanks. Edited June 23, 2016 by ZippyT Wrong subject
Fitch Posted June 23, 2016 Posted June 23, 2016 Right-click the field and choose Button Setup to assign a script to run when you click the field. The bones of the script would be something like: Set Variable( $id ; contact::id ) Go to layout( Tasks Details ) New record Set field( contactID ; $id )
Recommended Posts
This topic is 3094 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