When you have a parent and a child table, view or CursorAdapter with a one-to-many relationship, you can use the VPME editable grid based on the Grid_Toolbar class to display the child as a child related form. The records displayed in the grid will be those that match the current record displayed on the parent form.
If the child is a view or CursorAdapter, create the view or CursorAdapter with a filter that uses a variable name of ParentPKValue. This means that you create a Filter on the foreign key field or expression (if the foreign key is compound) that links the child to the parent with the “?ParentPKValue” variable name. See View Filters and CursorAdapter Filters.