B
Barry A&P
Since i am new to all this access stuff i have been tending to create new
queries everywhere i need them instead of just creating stand alone queries
(in the database window) and referring back to them...
For example every form that uses a employee name combobox will have its own
query for the rowsource (in the combos properties) rather than having a
employee names query in the database window and having all employee combos
reference that query.. the same goes for report data sources where each
report has its own query (in properties) rather than referencing a query in
the database window's Queries page..
I guess i really have three related questions:
1. will all of these queries eventually cause me problems or do they really
not matter??
2. Are there design rules or methods to keep queries efficient.
3. in a report is it better to just use the table as the reports record
source with dlookups for related data or to use ALL related tables in a query
in the reports datasource?
im sorry if the question is vague or off, i am just trying to keep Dumb from
running wild..
Thanks
Barry
queries everywhere i need them instead of just creating stand alone queries
(in the database window) and referring back to them...
For example every form that uses a employee name combobox will have its own
query for the rowsource (in the combos properties) rather than having a
employee names query in the database window and having all employee combos
reference that query.. the same goes for report data sources where each
report has its own query (in properties) rather than referencing a query in
the database window's Queries page..
I guess i really have three related questions:
1. will all of these queries eventually cause me problems or do they really
not matter??
2. Are there design rules or methods to keep queries efficient.
3. in a report is it better to just use the table as the reports record
source with dlookups for related data or to use ALL related tables in a query
in the reports datasource?
im sorry if the question is vague or off, i am just trying to keep Dumb from
running wild..
Thanks
Barry