cmedata Posted March 12, 2009 Posted March 12, 2009 Hi, I have a portal for users to input data. After users input the first two fields, I want to do a search to see if there are any existing records in the portal have the same values in these two fields and then highlight the existing record for users. My problems are: 1. I don't know how to highlight something in portal. 2. How do I trigger the script when user leave field two? Currently I am using FMP 9, I heard FMP10 can do that but I don't plan to update at this time. Thanks in advance for your help.
cmedata Posted March 12, 2009 Author Posted March 12, 2009 Ok, I know how to highlight a row now. The way I plan to work on this problem is to setup a script and add a new field called highlightMe in the portal table. Every time when the first two fields of a new row are added (Field A and AA) to the portal, I will loop through the whole portal. If I find an existing record in the portal with the same fields A and AA, I will change this record's HighlightMe to some number so the conditional format will work. I feel this is definite not the best way to handle it. Can self relationship help here? How can I change the value of HighlightMe field by setup a self relationship? Thanks.
Ocean West Posted March 12, 2009 Posted March 12, 2009 You can trigger it by using a variation of these technique http://www.nightwing.com.au/FileMaker/demos8/demo806.html http://www.filemakermagazine.com/videos/highlighting-portal-rows.html http://www.filemakermagazine.com/videos/highlight-record-row-in-list-view.html
Recommended Posts
This topic is 5735 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