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 5958 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello.

This seems simple, but I can't remember how one might do this.

I have a lot of records that need to be assigned IDs so as to relate them to records in another table. The trouble is that they are all spelled inconsistently and there are slight variations that would need the same assignation. I wanted to build a case function like this:

Case(

b_MatName = *"B&B"*, "038",

b_MatName = *"PVC"*, "044",

b_MatName = *"curb"* "012", "")

I've tried this both with and without the quotes and with the quotes in and outside of the asterisks.... no avail.

Any thoughts?

Thanks,

Sara

Posted

Just a side note, the default option in your case statement is not necessary e.g. you can write it without that last empty string:

Case(

b_MatName = *"B&B"*, "038",

b_MatName = *"PVC"*, "044",

b_MatName = *"curb"* "012")

This topic is 5958 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.