AFternoon, OK, here's what is working: 1. All form fields are from drop-down lists 2. cfif statements to account for the fact that you can decide *not* to choose anything ("xox" is the default value)
Is there a better way to refine this? SELECT Shows.Title, Credits.PlayerID, Players.FName, Players.LName, Shows.Network, Credits.ShowID, Shows.Genre FROM Shows INNER JOIN Credits ON (Shows.ShowID = Credits.ShowID) INNER JOIN Players ON (Credits.PlayerID = Players.PlayerID) WHERE Credits.CreditType like '%#form.credittype#%' <cfif IsDefined("form.network") AND #form.network# NEQ "xox"> AND Shows.Network ='#form.network#' </cfif> <cfif IsDefined("form.category") AND #form.category# NEQ "xox"> AND Shows.Category = '#form.category#' </cfif> <cfif IsDefined("form.genre") AND #form.genre# NEQ "xox"> AND Shows.genre like '%#form.genre#%' </cfif> Order by LName -- ----------- Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222643 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54