I'm setting up a search form for my database. Users will be able to enter various paramters, such as date range, record type, record status, etc. I'll put everything together into one great big SQL statement and apply that filter to my data.
I'm wondering about the best way to get the data from the user to the query. I can create an unbound field with a bunch of variables, or create a table to hold the search parameters and then base the search form on that table. Are there any good reasons to prefer one method over the other?
I try not to let my ignorance prevent me from offering a strong opinion.
I'm wondering about the best way to get the data from the user to the query. I can create an unbound field with a bunch of variables, or create a table to hold the search parameters and then base the search form on that table. Are there any good reasons to prefer one method over the other?
I try not to let my ignorance prevent me from offering a strong opinion.