>Correction I meant to type
>LOCATE FOR ALLTRIM(oHeader.Parent.ControlSource) = "John"
>
>>This fails to find the record even thought there are 20 John records
>>LOCATE FOR ALLTRIM(C) = "John"
in the command.click method?
Two things to look at:
1) try, before the LOCATE:
SELECT (oHeader.Parent.ControlSource)
2) In the debugger at the LOCATE, what is the contents of oHeader.Parent.ControlSource?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.