>Hi,
> I would like to SET FILTER TO cExpression for my cursor. However, GRIDHIGHLIGHTHER CLASS cause ERROR if I issue mygrid.REFRESH or SETFOCUS.
>
>Anybody got any experience with this?
>
>Thank you
Hi John,
What is your exact code? Where did you put yor SET FILTER command? Can you send me your form? Or reproduce this in VFP base form and send it to me ?
I just retested it in VFP 5 and 6 - placed a button with the Click() code:
*Click()
set filter to birth_date < {01/01/1964}
this.parent.grid1.refresh()
this.parent.grid1.Setfocus()
on my sample form and it works fine.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison