Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with navigations command button on form
Message
De
22/10/2001 07:41:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Problem with navigations command button on form
Divers
Thread ID:
00571585
Message ID:
00571585
Vues:
52
Hello there,

Since long time I spend trying to solve problem with commandgroup of buttons on formset. Well, opened table ist indexed and in moment of runtime is ordered. I have my own button on formset which call other form for searching record by user criteria. When user pick one record from returned results whole forms has a new value of this record but state of navigations button remain in position of last record position (at start of program is always record 1 but ordered by index, cmdTop and cmdPrev are disabled). How to make relation that navigations button refresh self state in according to new pointer position?
In form for searching I have got:
...
condition1=alltrim(thisformset.form2.text1.value)
seek condition1
if found()=.t. then
goto recno()
thisformset.form1.refresh
else
... error message...
endif
...
thisformset.from2.hide
...
Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform