Jump to content

Summary Text Field


Marc H.

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

Recommended Posts

I am a NEWBIE, so forgive me.

I have two tables, tableone and tabletwo, they are joined by a relationship that can add new records to tabletwo from tableone. The relationship is joined at tableone::id and tabletwo::tableoneid. There are fields in tabletwo that contain text called for sake of discussion kitchenSummary. I am trying to make a text field in tableone that contains text from all the related kitchenSummary entries in tabletwo maintaining text formatting.

Stumped, can anyone help?

Link to comment
Share on other sites

Have you tried a portal? The portal would have to be sized so that the text box would be the same in both tables. Since you can enter the text in tableone the formatting could be done there. The user never needs to go to tabletwo.

Link to comment
Share on other sites

the problem is that the kitchenSummary field can contain anywhere from a sentence to several (10+) and there can be up to 10 related records with the same type of variable information. I am trying to put the "text sum" (for lack of a better word) in a report that can be printed leaving quite a bit of room for this variation.

Link to comment
Share on other sites

You can put related fields from tableone in your report in tabletwo.

Alternately, you could create a value list of the related text field, starting from tableone, including and sorting by tabletwo::id, and use an unstored calculation in tableone of

ValueListItems( Get(FileName); "yourValueList" )

to retrieve a return-delimited list of the related items.

Link to comment
Share on other sites

Are they all the same color? If so,

TextColor( Substitute( ValueListItems( Get(FileName); "yourValueList" ); ¶; "¶¶" ); T )

where T is your color as RGB( x; y; z ) or its corresponding numeric value.

If they are not all the same color, how do you determine which text has which color?

Link to comment
Share on other sites

Thanks for everyone's help on this, got it working with the valuelist option and talked customer into summary of this text being all same color. Had conditionals in text fields on originating table where if the text was something other than "acceptable" text would be red.

Link to comment
Share on other sites

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