I am sure I've seen this discussed before, but here we go again.
Back in Alpha 4 one could have a form with information from the parent in a one to many linked set. Within that form one could use a region to display records from a child table. That combined with a summary field made a friendly interface for accounting.
The form in question is used to display donor information and the region is used to display all of the donations by same donor. The donor's data (e.g. name,address, etc) is stored in the parent table and the donations in a child table. These are linked using a numeric field called PKEY (partner key).
Now the question: Using Alpha5v4 regions are not available as such. I tried using an embedded browsebut it would display no records. The same browse would work if I made a button to open it, but the making a neat summary field at the end of the browse proved difficult. So... I switched to the idea of printing a report to the screen. Works ok as long as I attach the report to the child table and not to the set. The only catch is you have to query the parent form based on PKEY before running the report, else it displays all donations for all donors.
Is there a simple action script or Xbasic method to pull only records for the active PKEY and report?
Thanks,
Steven Thompson
Back in Alpha 4 one could have a form with information from the parent in a one to many linked set. Within that form one could use a region to display records from a child table. That combined with a summary field made a friendly interface for accounting.
The form in question is used to display donor information and the region is used to display all of the donations by same donor. The donor's data (e.g. name,address, etc) is stored in the parent table and the donations in a child table. These are linked using a numeric field called PKEY (partner key).
Now the question: Using Alpha5v4 regions are not available as such. I tried using an embedded browsebut it would display no records. The same browse would work if I made a button to open it, but the making a neat summary field at the end of the browse proved difficult. So... I switched to the idea of printing a report to the screen. Works ok as long as I attach the report to the child table and not to the set. The only catch is you have to query the parent form based on PKEY before running the report, else it displays all donations for all donors.
Is there a simple action script or Xbasic method to pull only records for the active PKEY and report?
Thanks,
Steven Thompson
Comment