I've got a table that I want to get information from. Within the table there are five fields that need to be queried. However, the user should be able to disregard a parameter if they don't care about that field. It is a simple database that I'm setting up for someone to hold some very basic information - I need it to be idiotproof, i.e. they shouldn't have to know about making their own queries and things.
e.g.
Fields: USER_ID; PAYMENT; LOCATION; DATE; MISC
User #1 wants to specify criteria for all five fields.
User #2 wants to specify a user id and a location but doesn't care about anything else.
How can I set a query up so that this can be achieved? I had tried putting in "Null OR [Enter User ID]" however this doesn't work when you leave the parameter box blank...
Thanks for any and all replies.