I am working to clean up a database app. When I made it, I made it normalized. Over time, with the need to get things done on the fly, I have extra queries, reports and stuff.
I am looking to clean it all up. I have found some great tools to help, including a database documenter, to give me a list of my objects, and a tool to find and replace object names.
Here is my question: As the control source to my forms, some of their controls (like combo boxes, etc) and reports, I have a mixture of queries and SQL control source/record source/row source not saved as a query. Some of this also lives in the VBA backend.
What is best? Is there a guidline for when to save as a query, when to use the query builder, but save the statement, without saving it as a query, and when to put the statement in VBA?
I figure I should get some sense of what is the best way for organization, structure, stability and performance.
I have also been encouraged to create aliases in my queries, which I understand I should also do in my code.
Why? I am happy to follow the credo, but I have a hard time doing something well if I don't understand the purpose.
Thanks for any thoughts!

misscrf
It is never too late to become what you could have been ~ George Eliot
I am looking to clean it all up. I have found some great tools to help, including a database documenter, to give me a list of my objects, and a tool to find and replace object names.
Here is my question: As the control source to my forms, some of their controls (like combo boxes, etc) and reports, I have a mixture of queries and SQL control source/record source/row source not saved as a query. Some of this also lives in the VBA backend.
What is best? Is there a guidline for when to save as a query, when to use the query builder, but save the statement, without saving it as a query, and when to put the statement in VBA?
I figure I should get some sense of what is the best way for organization, structure, stability and performance.
I have also been encouraged to create aliases in my queries, which I understand I should also do in my code.
Why? I am happy to follow the credo, but I have a hard time doing something well if I don't understand the purpose.
Thanks for any thoughts!
misscrf
It is never too late to become what you could have been ~ George Eliot