Newbies kkungle Posted May 13, 2004 Newbies Posted May 13, 2004 I am trying to create a script that checks a field to see if there is data, if there is data include Parentheses around the data, if not leave blank. I am kind new to Filemaker, any suggestions would be helpful. Thanks!
QuinTech Posted May 13, 2004 Posted May 13, 2004 Hi K. First off, if the parentheses are to represent negative numbers (accounting convention), you don't need a script. In layout mode, select the field in question, then go to Format>Number>Format as decimal>Negative>Format as>(1234). Otherwise: might you be better off using a calc field? If the original field is called Number, your calculation would be: If ( IsEmpty ( Number ) , Number , "(" & Number & ")" ) HTH. Jerry
Recommended Posts
This topic is 7760 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