Subform Question

J

John V

I have seen two authoritative examples of a form/subform created using query
fields. The same form/subform functionality can be achieved by using fields
from multiple tables (the ones used to create the query). Or so it seems.

So, I'm wondering why one would go to the trouble of working from a query
instead of multiple table fields.

Any insights appreciated.

John V.
 
P

Pat Hartman\(MVP\)

Good practice dictates that each form/report should be based on its own
query. The query can join the main table to any lookup tables; it can
create calculated fields; it can include selection criteria; it can order
the resultset; etc.

In a properly normalized database, it is very likely that at least one
lookup value is required and so it is rare that you would ever be able to
base a form or a report directly on a table in any event.
 
J

John V

Thanks Pat, I suppose my newbieness is showing.

Follow-up question: I ordinarily use junction tables for many-to-many
relationships. I was told an equally effective (maybe they said 'better';
can't recall) method was to use a query instead to create the relation.

Did they know what they were talking about?

Yet another follow-up: is there a webpage or book on database design
philosophies, a sort of 'best practices' compendium. I have several (1000+
page) books on Access, but unfortunately, their hints and tips are scattered
throughout.\

Thanks for your service to this forum.
 
P

Pat Hartman\(MVP\)

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top