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

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

Recommended Posts

Posted

Hello all

This is somewhat similar to one of my previous post... just slightly different parameters

I have records in a table with 3 fields (yes, I'm being generic):

ID Person Fruit

1 John Apple

2 Terry Banana

3 Rosencrantz Apple

What I want to do is populate a single field with text from Person:

But I only to list the names where fruit = apple

So far what I've figured is this:

create a script where a variable is set

then loop thru the records setting the variable along the way.

they use that variable to populate a field

Is there a simpler way to do this?

Any suggestions are greatly appreciated.

John

Posted

Actually, create a calc field, result text, if (Fruit="Apple"; Person, "")

btw, it would be best if the "fruit" field contained an ID for the type of fruit (you need a fruit table, ID Desc).

Posted

Hello

I can see that I skipped sometime in my original post:

I wan the output to my field to be combined:

John, Rosencrantz

BTW: I do have an ID for my Fruit as well. Perhaps I should not have oversimplified my example.

Thanks for your help. Any thoughts on my output?

John.

Posted

Yes, please tell us the reality. Also, it's important to know from what context you are trying to derive this list of records. For example, I can look from another table thru a relationship to this table by FruitID and using List ( ) and Substitute ( ) create your desired list of names.

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