I am stuck with what should be a very simple task. In a database, I want the user to be able to "flag" certain records, but to pop up a custom dialog to warn if a certain number of "flagged" records is exceeded. My approach has been to have the "flag" field as a Yes No radio button, and to attach an OnObjectModify script to pop the custom dialog. My problem is to create an If ... ElseIf in the script that will trigger the custom dialog if the predetermined number is exceeded. I wondered about using an internal join, but not quite sure how. Any suggestions would be most welcome! I am using FM Pro 12.