This document says on P.25:
$$PARENT::SectionName ::FieldName$$
You can indicate a filter that compares a value in the record that is filtered with a value in the record that contains the smart section. To indicate that a value is compared with the FieldName field in the SectionName section of the record that contains the query section or smart section, use the following value field: $$PARENT::SectionName::FieldName$$.
When the value of the $$PARENT special value is empty, it resolves to an IS NULL criteria.
So I took the following approach using the SmartSection. Is my approach correct?
1.By the Data Modeler, I created the SmartSection (named cstBaseballShared) that has the "cstBaseBallTeamidTX" field in the cstBaseballPlayer BO.
2.By the Form Builder, I added the SmartSection (cstBaseballShared) to the form of the cstBaseballPlayer.
3.By the Report Manager, I added the system filter shown in the attached screen capture to the query of the cstBaseballPlayer.
I specified "$$PARENT::cstBaseballShared::cstBaseBallTeamidTX$$" in the Value field.
I'd really appreciate it if you comment on my approach.
You didn't need to create a smart section, the $$PARENT filter will work on a form section as well. You could just create the query section on the team form, and add the parent filter to point to the team id field on the team record. So, creating the smart section was all extra work that wasn't needed. So, if you changed the section and field information in your $$PARENT filter, to the form section and field on your form, it should also work.
--Mark