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

Displaying data from value list from a field


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

Recommended Posts

Posted

I have a problem that's come up at the end of several steps. Here goes:

Table One is called "topics". This table has two fields "topic ID" and "topic Name".

Table Two is called "locations". This table has a field with a check box style value list. The value list is generated from the other table's "topics ID" and "topic Name".

This all works great. It displays all the records in "topics" table with the id and name showing.

So, what I want to do now, is display the checked values on a report. If I put the check box field on the report as a standard edit box, it only displays the data under "topic ID". I'm assuming this is because that's how the relationship between the two tables is set up.

I'd like the field to display just the "topic name" or even both, but the id number doesn't really tell much.

Any suggestions would be much appreciated. Thanks.

Posted (edited)

Create a relationship from this Locations table to Topics on the TopicID. Then place the related Topics Description from the Topics table directly on your current Locations layout.

But ... do you have multiple items checked in those checkboxes in Locations?

Edited by Guest
Posted

To display what is in the checkbox field (if more than one is checked), You must have a relationship from Topics::TopicID = Locations::TopicID.

Then in Locations, you need a calculation (result is TEXT) with:

Substitute ( List ( topics::Desc ) ; ¶ ; ", " )

... keep in mind that you will not be able to generate a sub-summary report by individually checked item.

Posted

This is not a portal solution except in the way that there must be a relationship between the two tables. Once you have related them on TopicsID using equal, then the calculation in Locations table will produce the multiple topic descriptions that are checked. :wink2:

Posted

That solution worked great. Thank you!

I actually used in the calc field:

List (topics::Desc)

I still needed it as a list but didn't know about this before.

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