Jump to content
Server Maintenance This Week. ×

Summary of Text


mhemans

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

Recommended Posts

I have two databases. They have been set up with a relation based on a unique serial number. When I type in the serial number or serial numbers (separated by a carriage return) into the number field in database "A", it gives me a list of colors from database "B". Some of the colors for each serial number may be the same. Currently, I am getting a list of colors that are duplicates (ie: Blue, Blue, Red, Blue, Yellow). I want a field that simplifies/consolidates the list of text to just one of each (Blue, Red, Yellow). How do I go about this?

Edited by mhemans
Link to comment
Share on other sites

8 minutes ago, mhemans said:

I want a field that simplifies/consolidates the list to just one of each (Blue, Red, Yellow).

I guess you want a calculation field (result is Text) that does something like:

UniqueValues ( List ( B::Color ) )

A better solution might be to have a table where each color has a unique record. But we would need to know more about what your database does. 

---
P.S.  Please do not use 
abstract names like "A" and "B" - they are difficult to follow. Give your tables names that represent the entities they track.

Also, a field that contains a return-separated list should be a Text field.

 

 

  • Like 1
Link to comment
Share on other sites

8 minutes ago, comment said:

I guess you want a calculation field (result is Text) that does something like:

UniqueValues ( List ( B::Color ) )

A better solution might be to have a table where each color has a unique record. But we would need to know more about what your database does. 

---
P.S.  Please do not use 
abstract names like "A" and "B" - they are difficult to follow. Give your tables names that represent the entities they track.

Also, a field that contains a return-separated list should be a Text field.

 

 

I appreciate the answer and suggestion. That did the trick.

Link to comment
Share on other sites

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