Julian L Posted January 9, 2008 Posted January 9, 2008 I have a layout that is in list mode and I would like to display some text displayed, for every record, when that record is selected without having to run any scripts. Just a pure calculated field. Here is the code that I tried and failed with: If (GetNthRecord ( ID ; Get ( RecordNumber ) )=ID; "Selected" ; "Not Selected") When this is applied, the text "Selected" always is displayed for every record. My guess is that the Get ( RecordNumber ) is dependent on the record being calculated and not displayed. But at the same time, when I look at the Get ( RecordNumber ) in the Data Viewer, the returned value matches the value shown in the Status Area. I'm not sure exactly why this is but I really need a solution. Please if anyone has any input please leave here in this topic, it is much appreciated. Julian need_help.fp7.zip
comment Posted January 10, 2008 Posted January 10, 2008 See: http://fmforums.com/forum/showtopic.php?tid/188674/tp/0/all/1/
Julian L Posted January 10, 2008 Author Posted January 10, 2008 See: http://fmforums.com/forum/showtopic.php?tid/188674/tp/0/all/1/ Thank you! It did the trick.
Recommended Posts
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