If you want to do this at all - and subdatasheets are NEVER necessary, wreck
performance, and are far less flexible than a form with a subform!!! - you
must do so in the backend, the database which contains the tables.
Don't, though; just use a Form. Tables are for storing data; forms are for
interacting with data.