Jump to content

Status of related records problem


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

Recommended Posts

I'm having with a tracking idea. I have 2 tables, jobs and line items. I'm trying to show the status of all related line items on the jobs layout. ex. the jobs layout has "ironing required" field that shows it's needed. Each line item has the same field. I'm trying to get the jobs layout to show "ironing needed", even if only one record needs it.

Currently, when the first related record is "needed", it shows, otherwise it's ignoring the other related records.

Please help. I've attached an example file, because I'm awful at explaining what I mean.

Thanks

smirk.gif

IroningExample.zip

Link to comment
Share on other sites

Relationship::field only refers to the first related record, not all of them. To test all of them you need a value list. Create one based on line items::ironing needed and 'Include only related values starting from' jobs. Then change your 'needs ironing' field to bbe an unstored calculation of Case ( PatternCount( ValueListItems( Get(FileName); "ironing" ); "Yes" ); "Yes" ).

Link to comment
Share on other sites

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