Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a database with tons of fields and some of those fields need to be exported as a number, but there are a few types of number lists, such as

no = 0, yes = 1, unknown = 3

female = 0, male = 1

brown = 0, blue = 1, red = 2

Any ideas on how to make this easy for the users? I want them to be able to see the text value over the number value but for exporting to a statistics package, they need the number value.

Posted (edited)

Hi martha

setup a calc field (result number) for each field that has the options.

Use the case function to determine the result [ie Case(field1 = "no;0;field1 = "yes";2; field 1 = "unknown";3)].

Check the 'do not store, evaluate as necessary" box in each case and then export those calc fields

HTH

phil

Edited by Guest

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