Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 3772 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted
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.

Posted

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

This topic is 3772 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.