pjmatelli
Board Regular
- Joined
- Oct 13, 2005
- Messages
- 206
Hi all,
I have a search form whereby the users of my database can pick a username, a facility, a vendor, etc. They can also further filter by status and/or date range. So if you pick a user, all POs for that user show up, if you pick a status, it filters the user list to just show those POs with the proper status. If you then pick a date range, I want it to further filter the list to include only those POs within the date range. It works fine as long as dates are entered, but if no dates are entered, I want it to return all values. The help needed is with how to use the between date option within the query so that if the date range is left blank, all POs matching the other criteria are returned. I have attempted this many different ways to no avail. I hope I made sense. Any help as always is greatly appreciated.
TIA
I have a search form whereby the users of my database can pick a username, a facility, a vendor, etc. They can also further filter by status and/or date range. So if you pick a user, all POs for that user show up, if you pick a status, it filters the user list to just show those POs with the proper status. If you then pick a date range, I want it to further filter the list to include only those POs within the date range. It works fine as long as dates are entered, but if no dates are entered, I want it to return all values. The help needed is with how to use the between date option within the query so that if the date range is left blank, all POs matching the other criteria are returned. I have attempted this many different ways to no avail. I hope I made sense. Any help as always is greatly appreciated.
TIA