Ahh interesting. Ok. That sounds good. Thanks for all the help, I'm going to look into doing it that way, like you said. I'm a little worried because the application that I'm replacing with Outlook that my company had already, was doing a similar thing - making queries dynamically based on user input, and it was very slow.
But we were thinking of making some views and things to help with the speed since the tables are so large and not all information is necessary. I'm just worried that if I do queries without any thinking about how to optimize them it could be still just as slow, but I think it's still worth it to move to outlook because of the customizable user interface.