>hi,
>i'm sorry, but nothing at mygrid, i try browse after the code ,i see the
> mytable bottom,
> can i use it as locate and if found i put the same code again.
>
>thanks
>>
>>cFilter = "MONTH(dat) == " + ALLTRIM(STR(MONTH(thisform.Text2.Value)))+ " AND "+;
>> "Mac1 == '" + ALLTRIM(thisform.Text18.Value) + "' AND "+;
>> "Typ == " + ALLTRIM(STR(thisform.Text24.Value))
>>
>>set filter to &cFilter
>>
Yes I think You should add this code AFTER
IF FOUND() statement
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.