>I have built a search dialog to filter records. It is called from the default 'Find' button. The calling function is :
>
>local lfilter
>select bookingstbl
>set filter to
>do form forms\searchfrm to lfilter
>&lfilter
>go top
>thisform.refresh
>
>The dialog returns a good string, and now here is the problem
>Search # 1 set filter to arr_date = {^1999/12/21}
> returns 14 records, correct, and can navigate them all
>search # 2 set filter to pers_key = 126
> returns 1 record, correct, 'Next" Button active, no second record
>Search # 3 set filter to dep_date ={^1999/12/21}
> returns 5 records, correct, all navigate buttons disabled
> If I browse the table, there are 5 records in the browse window
>
>The first search works just fine, no matter what the parameters are. But the second search seems to disable the navigate keys.
>Any help will be greatly appreciated.
Lorne,
Instead of "go top" use "locate" which is Rushmore optimizable.
About navigation it should have somthing to do with your navigation class. ie: If that's wizard buttons, set TopFile and EndFile to .f. and call NavRefresh.
Cetin