I’ve just posted a demo app in another thread which may suite your needs. It has only two tables read it