I have a Business Object for Contacts and one for monthly collections which is set-up and working fine. There is a requirement to allocate a reference (envelope No) to each contact which is then used as the monthly collection entry reference.
There now is a requirement to have more than one reference (envelope no) on each client and the collection could be proper to one or either reference. I have created a Business Object to allow a client have more than one envelope number and put the monthly collection object related to it instead of the client direct.
Now I need to be able to display all collections for a client regardless of the envelop used. As the monthly collection is no longer an attribute of the client I can not simply add it to a subform on the main form.
If I want to create a query which I coudl run as a process above the main form, how can I pass the client ID from the client I am viewing into the query to return all monthly collections (I have shortcut the client ID from the client Business Object to the envelope object and on to the monthly collection object).