Jump to content
Sign in to follow this  
susienray

Criteria for child records

Recommended Posts

To find related records in a child file, I've been using the technique of putting multiple parent keys in a global field which has a relationship to the child, and then using GoToRelatedRecords. Works great but...how can I then further search the children? For example, by this method I can find all children of parents whose Active flag = Y but then what if I further want to only see those children whose phone = home? If I do a find of the children, I end up with all children whose phone = home, not just those children of active parents. This must be a common problem and I'm sure there's a technique. I just don't know it. Tanks.

Share this post


Link to post
Share on other sites

quote:

Originally posted by Susie:

To find related records in a child file, I've been using the technique of putting multiple parent keys in a global field which has a relationship to the child, and then using GoToRelatedRecords. Works great but...how can I then further search the children? For example, by this method I can find all children of parents whose Active flag = Y but then what if I further want to only see those children whose phone = home? If I do a find of the children, I end up with all children whose phone = home, not just those children of active parents. This must be a common problem and I'm sure there's a technique. I just don't know it. Tanks.

In the related file issue a search form in which you can enter all needed criteria then, via script, perform this search and you will have your results.

Obviously have some 'navigational trick' in order to come back to the calling form in the master db.

Regards

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  

×
×
  • Create New...

Important Information

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