Hi All,
I have a form frmPayroll which is made-up via a query combination of 3 more
tables in the database, I just want know could I use some fields from this
query as a subform in same form.
Well... you could... but that's not how best to use subforms.
Rather than creating one complex multitable query and trying to base a
Form on it, consider instead using the Form and Subform to manage data
for a "parent" table and a "child" table.
Typically you will use a Form based on the "one" side table of a
relationship, with a Subform for the "many" side table. The Master
Link Field property of the subform is the name of the master table's
primary key field; the Child Link Field is the name of the related
foreign key. This keeps the two tables in synch.
Basing your form on a three table query will cause all sorts of
complications; not least is that you will see the main table data
repeated as many times as there are child records.