_James Posted February 25, 2020 Share Posted February 25, 2020 I'm setting up an internal door schedule and want to show whether doors are fire rated or not. We mark doors as fire rated via an attached record that has a boolean field creating a little checkbox that people can tick to show it as fire rated or not. I've integrated this column into the worksheet, but it writes "TRUE" and "FALSE" based on the record. Is there a way that I can make "FALSE" just be blank and not show, and "TRUE" show as a "✓"? Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted February 27, 2020 Vectorworks, Inc Employee Share Posted February 27, 2020 The following would work if using "User Field 1" in the Data pane for fire rated. Change "Window.UserFld1" to "YourRecordName.YourFieldName" and it should work. =IF((Window.UserFld1='TRUE'), '✔︎', '') 1 Quote Link to comment
_James Posted February 28, 2020 Author Share Posted February 28, 2020 Hi @Matt Panzer Thanks for your reply. My Record is called "Door Data" and the field in question is called "Fire Rated?" I tried inputting that by writing - =IF((DoorData.FireRated?='TRUE'), '✔︎', '') - but this didn't work. Am I doing something wrong? I'm not sure if the question mark affects things or anything like that? Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted February 28, 2020 Vectorworks, Inc Employee Share Posted February 28, 2020 OK. Try this: =IF((DoorData.FireRated), '✔︎', '') and remove the question mark from the field name. Quote Link to comment
_James Posted February 28, 2020 Author Share Posted February 28, 2020 Hi Matt, Sorry, still no luck. Would you mind taking a look at the attached file? Door Data.vwx Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted February 28, 2020 Vectorworks, Inc Employee Share Posted February 28, 2020 Third time's the charm (I think) 🙂 Try this: =IF(('Door Data'.'Fire Rated?'), '✔︎', '') It turns out it was't the question mark that was the problem - so go ahead and leave it in the name. The record and field names have some "special characters" (spaces and a question mark). In order to get the full names to be recognized, you need to add single quotes as I added. HTH! 2 Quote Link to comment
michaelk Posted February 29, 2020 Share Posted February 29, 2020 You can also go to Format Cells… > Number Tab > Boolean and then enter the values you want displayed for True and False 3 Quote Link to comment
Vectorworks, Inc Employee Matt Panzer Posted February 29, 2020 Vectorworks, Inc Employee Share Posted February 29, 2020 Even better! Thanks @michaelk! Quote Link to comment
_James Posted March 2, 2020 Author Share Posted March 2, 2020 Hi @michaelk and @Matt Panzer, Thanks both for the suggestions - problem solved! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.