>Here's one more for you
>
>select * FROM PARENT p
> JOIN (SELECT distinct PK_FLD FROM CHILD WHERE(&cChildFilter)) dt1
> ON dt1.PK_fld = p.PK_fld
>
>
I think I see where your approach is better. In your SQL Select, VFP has to "query" CHILD table only once. In my approach, SQL Select has to "jump" from quering PARENT to CHILD and back.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham