topazmedia Posted September 22, 2014 Posted September 22, 2014 Hi there, I have a contact database table as part of a larger solution that I am building and am trying to achieve the following: I have a dropdown box with "Business" and "Individual" and a field called "display name". I am trying to make a calculation that pulls either the business name or an individuals name based on what is selected in the dropdown box. Does anyone have any ideas? I have tried a few variations to no avail. Best regards, Tim
Lee Smith Posted September 22, 2014 Posted September 22, 2014 Hi Tim and welcome to the forum, Don’t you mean drop-down list or menu What’s the purpose of the calculation result? It seems unusual that you would have a drop-down menu or list again and need to calculation field too. Unless, you were going to display this calculation result in a different field or Table Occurrence. Lee
comment Posted September 22, 2014 Posted September 22, 2014 I have a dropdown box with "Business" and "Individual" and a field called "display name". I am trying to make a calculation that pulls either the business name or an individuals name based on what is selected in the dropdown box. Does anyone have any ideas? I have tried a few variations to no avail. I am not sure why you're having problems with this - it seems pretty trivial. Make Display_Name a calculation field (result is Text) = Case ( Type = "Business" ; Business_Name ; Individuals_Name ) where Type is the drop-down field. If this is for display only, you could simply put both source fields on top of each other.
topazmedia Posted September 22, 2014 Author Posted September 22, 2014 Hi Lee & Comment, Thank you both very much for your responses to my post. I have adopted Comments solution and thats doing exactly what I need. Best regards, Tim
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