Stephen Russell wrote: > On Mon, Jul 20, 2009 at 9:09 AM, > KAM.covad<[email protected]> wrote: >> There is only one table. The parent and child records are in the same table. >> The cParent field of the child record points to the parent record. > ----------------- > > What ver. of VFP are you using? > > You can do an IN clause in VFP 9 only. Otherwise you have to do a > join on itself from parent to person where parent <> person. > >
??? Steve, I think you could do an IN subquery in VFP since at least VFP7 or earlier...what you could do only in 9+ (haha) was join to a immediate query result, among a few other things (like CAST, for example). -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

