Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Epale pana,
Ejele!!!
>
>You could clear the filter in your form's init event or perhaps right before the form sets the new filter.
I create the filter from within a button's click event, something like this:
myfilter=".t."
if thisform.check1.value=1
myfilter=myfilter+" and myfileld>0"
endif
if thisform.check1.value=1
myfilter=myfilter+" and !empty(myotherfileld)"
endif
if !empty(thisform.text1.value)
myfilter=myfilter+" and myanotherfield="+thisform.text1.value
endif
..etc
myfilter="report form myreport for "+myfilter+" preview"
&myfilter
Précédent
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