FP 2003 DRW Distinct Query problem

N

Norm Viste

In FP 2003 DRW query, I want to show a distinct list of entries from one
field when another field has only a specific entry.

fp_sQry="SELECT DISTINCT category FROM wishlists where person = ::person::"
produces only a blank list of categorys.


fp_sQry="SELECT category FROM wishlists where person=::person::"
also produces only a blank list of categorys.

fp_sQry="SELECT * FROM wishlists where person=::person::"
where list is edited to show only category field, produces all categorys
from person, but including duplicates. I want to eliminate duplicates.

fp_sQry="SELECT DISTINCT category FROM wishlists "
Shows a distinct list of categorys from all persons in wishlist.

Various combinations of parentheses don’t seem to help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top