Harry Posted April 30, 2014 Posted April 30, 2014 Hello Board! I am trying to hide a button in a List Layout view. I have two tables connected together. The first table puts a record in the second table through a script attached to the record button. I have this setup as a conditional format, that changes the colour of some text: Count (Job_Logging_Job_Scanning_Terminal::Combined_WO_JobID )≥ 1 So, if a record has already been made, then the text goes Red. I have tried using the same code in the button 'Hide Object When' part, but it does not work. I cannot figure this out at all. What am i doing wrong? The text that can be conditionally formatted is part of the same table, part of the same record on the same layout, and it works under that condition. But the button does not want to change. I've also tried making other Layout Objects and trying to hide them under these conditions, but it doesn't work either. Thanks for any input you can give. H
Wim Decorte Posted April 30, 2014 Posted April 30, 2014 If you still have the conditional format on the button, then that will win I believe, so take it off. As an aside, Count() can be really expensive and you don't really care about the exact count, you just to to verify that there is at least one related record. So you can do the same with a little more performance by using Not isempty( Job_Logging_Job_Scanning_Terminal::Combined_WO_JobID )
Harry Posted April 30, 2014 Author Posted April 30, 2014 v12!! ******* It! Thank you for the quicker/lighter method, though!
Recommended Posts
This topic is 3861 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