Thanks Vince. See my response to Ted for my plea. John Weller 01380 723235 07976 393631 > > > I'm going to hem and haw my way carefully through this, so I don't look > much more ignorant then most people already think I am. > I can't answer the question, but maybe this will get someone a bit > closer to it. > > IIRC, Deleted() returns a .T. for the current record. Since you have no > deleted records, you are doing a Seek(.F.) > > With an index on Deleted(): > with all records non-deleted, if you literally do a Seek(.F.), it always > returns .T., and a Seek .T. always returns .F. > with all records deleted, if you literally do a Seek(.F.), it always > returns .F., and a Seek .T. always returns .T. > With a mix, both always return .T. > > If you reverse your index, though ( "Index on !Deleted()" etc ), > everything works exactly as you would expect, including your > Seek(Deleted()) > > >
_______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** 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.