Jump to content
Sign in to follow this  
Raybaudi

Show only NOT used products

Recommended Posts

Thank you, comment.

Yes, like that ! ;)

I didn't know the extreme power of that script step:

Refresh Window [Flush cached join results]

It's correct to say that that step forces the recalculation of unstored ( because related ) calcs ?

And, do you think that the same effect can be obtained without a script ?

Share this post


Link to post
Share on other sites

I don't know of a way to do this without a script. Without a script, user could move to a new line item without committing the previous one. An uncommitted line item will obviously NOT be included in the list.

This is IN ADDITION to the usual problem of one relationship depending on the results of another. Filemaker does not always see the connection beteen the two, and continues to rely on the cache. That's what the step really does: it forces recalculation of results obtained from a relationship.

Share this post


Link to post
Share on other sites

Hi Daniele,

it seems to be a job for FilterValuesByTest().

FilterValuesByTest ( ¶ & List ( invoiceItemsIDs ) & ¶ ; "value" ; "PatternCount ( text ; ¶ & value & ¶ )" ; 0 )

Edited by Guest

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    2 members have viewed this topic:
    WTM  ltwimberly 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.