Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Problem with navigations command button on form
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement