Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bad navigator btn behavior
Message
De
21/12/1999 15:44:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00306915
Message ID:
00306921
Vues:
21
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform