![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All: I have spent too many hours trying to resolve this prob. I have a table that has 15 Y/N fields. I want to form-drive a query that will return any combination of the 15 fields selected from a form. That is, on one instance I want to pull all rows where the 3rd, 4th, and 6th Y/N fields are 'Y', the rest 'N'. On another instance, I may want the 1rst, 10th, and 14th Y/N fields 'Y' to be pulled from the table. Neither SQL's 'AND' or 'OR' satisfy the needs here. 'AND' between all 15 fields makes the query return no rows, 'OR' between all 15 fields returns all or too many rows. I know there is no such thing as an 'XOR' in SQL. Any ideas? Much appreciated! Thanks much... rjm (AT) soltec (DOT) net -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =----- |
![]() |
| Thread Tools | |
| Display Modes | |
| |